Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 785 other subscribers


  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

PowerShell How To : Check and remove Modern UI apps (a.k.a. Metro apps or Appx)

Checking all of the installed Modern UI Apps :

Get-Command -Module appx


Use Get-AppxPackage to show all of the installed apps

Get-AppxPackage | select Name, version, PackageFamilyName | ft

Get-AppxPackage also accepts wildcards :

Get-AppxPackage -Name *Bing* | select Name, version, PackageFamilyName | ft

Name Version PackageFamilyName
—- ——- —————–
Microsoft.Bing Microsoft.Bing_8wekyb3d8bbwe
Microsoft.BingTravel Microsoft.BingTravel_8wekyb3d8bbwe
Microsoft.BingNews Microsoft.BingNews_8wekyb3d8bbwe
Microsoft.BingSports Microsoft.BingSports_8wekyb3d8bbwe
Microsoft.BingWeather Microsoft.BingWeather_8wekyb3d8bbwe
Microsoft.BingMaps 1.6.1821.2624 Microsoft.BingMaps_8wekyb3d8bbwe
Microsoft.BingFinance Microsoft.BingFinance_8wekyb3d8bbwe


Naturally you can remove the Modern UI apps : Remove-AppxPackage

Unfortunately the Remove-AppxPackage doesn’t supports the wildcard option:

Remove-AppxPackage *Bing*

PS C:\Windows\system32> Remove-AppxPackage *Bing*

Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Verwijderen is mislukt. Neem contact op met de softwareleverancier. (Uitzondering van HRESULT: 0x80073CFA) Windows cannot remove *Bing* because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed.NOTE: For additional information, look for [ActivityId] ee185fe6-8873-0001-add2-18ee7388ce01 in the Event Log or use the command line Get-AppxLog -ActivityID ee185fe6-8873-0001-add2-18ee7388ce01 At line:1 char:1 + Remove-AppxPackage *Bing* + ~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (*Bing*:String) [Remove-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand


So you have to use piping :

Get-AppxPackage -Name *Bing* | Remove-AppxPackage

PS C:\Windows\system32> Get-AppxPackage -Name *Bing* | Remove-AppxPackage

Again list the apps:

Get-AppxPackage -Name *Bing* | select Name, version, PackageFamilyName | ft

PS C:\Windows\system32> Get-AppxPackage -Name *Bing* | select Name, version, PackageFamilyName | ft -autosize

No Bing app is listed anymore

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.