2023-11-12 16:46:05 +07:00
|
|
|
# Remove-AppxPackage
|
2023-10-22 23:38:26 +05:30
|
|
|
|
2024-01-25 02:28:11 -03:00
|
|
|
> A PowerShell utility to remove an app package from user accounts.
|
2023-11-12 16:46:05 +07:00
|
|
|
> More information: <https://learn.microsoft.com/powershell/module/appx/Remove-AppxPackage>.
|
2023-10-22 23:38:26 +05:30
|
|
|
|
|
|
|
- Remove an app package:
|
|
|
|
|
2023-11-12 16:46:05 +07:00
|
|
|
`Remove-AppxPackage {{package}}`
|
2023-10-22 23:38:26 +05:30
|
|
|
|
|
|
|
- Remove an app package for a specific user:
|
|
|
|
|
2023-11-12 16:46:05 +07:00
|
|
|
`Remove-AppxPackage {{package}} -User {{username}}`
|
2023-10-22 23:38:26 +05:30
|
|
|
|
|
|
|
- Remove an app package for all users:
|
|
|
|
|
2023-11-12 16:46:05 +07:00
|
|
|
`Remove-AppxPackage {{package}} -AllUsers`
|
2023-10-22 23:38:26 +05:30
|
|
|
|
|
|
|
- Remove an app package but preserve it's app data:
|
|
|
|
|
2023-11-12 16:46:05 +07:00
|
|
|
`Remove-AppxPackage {{package}} -PreserveApplicationData`
|