...Because someone's gotta tell the story...


To return to the main Blog List, click Full Blog Listing.


Site Updates

Expanding on removing Windows 8 apps

Tuesday, September 30, 2014 in Powershell (Views: 2524)
As soon as I saved the blog, a friend said "What if I have a list of apps?"

So, to add to the previous blog... Here is how you can create a list of apps, then remove them in PowerShell. Separate each app with a comma.


ForEach ($App in $AppList)
$Package=Get-AppxPackage | Where-Object {$_.Name -eq $App}
Remove-AppxPackage -Package $Package.PackageFullName

I learned here that an app may not appear to “Unpin” right away. A simple refresh of the screen will actually resolve this. So, don’t panic if it is still there, clicking on it will do nothing for you. I noticed this with Games, but Maps went away immediately every time.

If you simply want to test, use -WhatIf in Remove-AppXPackage. It will produce this output, for testing...

What if: Performing the operation "Remove package" on target "Microsoft.BingMaps_2.1.3230.2048_x64__8wekyb3d8bbwe".
What if: Performing the operation "Remove package" on target "Microsoft.XboxLIVEGames_2.0.139.0_x64__8wekyb3d8bbwe".
Again, happy scripting.


Related Blogs You May Be Interested In:

To leave a comment, please log in and/or register.