Knowledgebase
emscom > emscom Help Desk > Knowledgebase

Search help:


AppX commands

Solution

//List AppX default AppX packages installed by Windows
Get-AppXProvisionedPackage -Online | format-table

//List currently installed All User AppX packages
Get-AppXPackage -AllUsers | Select Name, PackageFullName

//Uninstall individual AppX package from current user
Remove-AppXPackage -Package 'package full name'

//Uninstall individual AppX package (using wildcard)
get-appxpackage *bingweather* | remove-appxpackage

//Uninstall AppXPackage from All Users by adding the parameter -AllUsers

//Uninstall AppXPackage from specified user.  The -User parameter only accepts a SID value

Remove-AppXPackage -User $sid -Package 'package full name'

//Reinstall all default AppX packages
Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

//Add invidual AppX package
Add-AppxPackage -register "C:\Program Files\WindowsApps\PackageFullName\appxmanifest.xml" -DisableDevelopmentMode

 
Was this article helpful? yes / no
Related articles Uninstall HP Support assistant 8
Article details
Article ID: 201
Category: Powershell
Date added: 06-02-2023 11:12:26
Views: 95
Rating (Votes): Article not rated yet (0)

 
« Go back

 
Powered by Help Desk Software HESK, in partnership with SysAid Technologies