tldr/pages/windows/remove-appxpackage.md

21 lines
550 B
Markdown
Raw Normal View History

# Remove-AppxPackage
2023-10-22 19:08:26 +01:00
> A PowerShell utility to remove an app package from one or more user accounts.
> 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}}`
2023-10-22 19:08:26 +01:00
- Remove an app package for a specific user:
`Remove-AppxPackage {{package}} -User {{username}}`
2023-10-22 19:08:26 +01:00
- Remove an app package for all users:
`Remove-AppxPackage {{package}} -AllUsers`
2023-10-22 19:08:26 +01:00
- Remove an app package but preserve it's app data:
`Remove-AppxPackage {{package}} -PreserveApplicationData`