burritoincognito
Gawd
- Joined
- Sep 17, 2012
- Messages
- 767
I can find something that lets me remove basically all metro apps, but we actually want to hold onto a couple. Namely, calculator and camera.
Unfortunately, I've not found anything on how to remove all apps except more than one. I've got something that can remove all but Store, and I can adapt that to one or the other, but I want it to keep both.
I'd prefer something like this over removing app by app, as there are a bunch of unsolicited apps finding their way into Windows (Candy Crush, Twitter, etc.) month to month.
Any suggestions?
Unfortunately, I've not found anything on how to remove all apps except more than one. I've got something that can remove all but Store, and I can adapt that to one or the other, but I want it to keep both.
Code:
Get-AppXPackage | Where Name -NotLike "*WindowsStore*" | Remove-AppXPackage
Get-AppXProvisionedPackage -online | Where DisplayName -NotLike "*WindowsStore*" | Remove-AppxProvisionedPackage –online
I'd prefer something like this over removing app by app, as there are a bunch of unsolicited apps finding their way into Windows (Candy Crush, Twitter, etc.) month to month.
Any suggestions?