Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Modifying the Decrapifier

$
0
0

I'm sure you're all familiar with this script:

https://community.spiceworks.com/scripts/show/3298-windows-10-decrapifier?page=1

I'm trying to change the way it behaves a little to suit my needs, but I'm stuck. The goal is to have it:

  • Generate a list of AppxPackages and output to a file (I'm using txt, but anything will work).
  • Pause so I can edit the file to remove entries for apps I'd like to keep.
  • Remove-AppxPackage for each entry in that file.
  • Do the same for AppxProvisionedPackages

I've gotten the first two down, which is easy. I'm stuck on the the third. The fourth should be as simple as switching Remove-AppxPackage with Remove-AppxProvisionedPackage.

I've tried a couple of things. For the first 2 bullets, I've got the following:

Powershell
Get-AppxPackage-allusers|SelectPackageFullName|out-fileC:\Administration\AppxPackage.txt...

Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>