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