2023-11-12 09:46:05 +00:00
|
|
|
# Remove-AppxPackage
|
2023-10-22 19:08:26 +01:00
|
|
|
|
|
|
|
> A PowerShell utility to remove an app package from one or more user accounts.
|
2023-11-12 09:46:05 +00:00
|
|
|
> More information: <https://learn.microsoft.com/powershell/module/appx/Remove-AppxPackage>.
|
2023-10-22 19:08:26 +01:00
|
|
|
|
|
|
|
- Remove an app package:
|
|
|
|
|
2023-11-12 09:46:05 +00:00
|
|
|
`Remove-AppxPackage {{package}}`
|
2023-10-22 19:08:26 +01:00
|
|
|
|
|
|
|
- Remove an app package for a specific user:
|
|
|
|
|
2023-11-12 09:46:05 +00:00
|
|
|
`Remove-AppxPackage {{package}} -User {{username}}`
|
2023-10-22 19:08:26 +01:00
|
|
|
|
|
|
|
- Remove an app package for all users:
|
|
|
|
|
2023-11-12 09:46:05 +00:00
|
|
|
`Remove-AppxPackage {{package}} -AllUsers`
|
2023-10-22 19:08:26 +01:00
|
|
|
|
|
|
|
- Remove an app package but preserve it's app data:
|
|
|
|
|
2023-11-12 09:46:05 +00:00
|
|
|
`Remove-AppxPackage {{package}} -PreserveApplicationData`
|