HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

Remove-AppxPackage — A PowerShell utility to remove an app package from user accounts. More information: <https://learn.m

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandremoveclipowershellapppackageutilityremove-appxpackage
windows

Problem

How to use the Remove-AppxPackage command: A PowerShell utility to remove an app package from user accounts. More information: <https://learn.microsoft.com/powershell/module/appx/Remove-AppxPackage>.

Solution

Remove-AppxPackage — A PowerShell utility to remove an app package from user accounts. More information: <https://learn.microsoft.com/powershell/module/appx/Remove-AppxPackage>.

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

Code Snippets

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

Context

tldr-pages: windows/Remove-AppxPackage

Revisions (0)

No revisions yet.