4

A basic script for uninstalling a list of app packages in Windows 10/11, includi...

 1 year ago
source link: https://gist.github.com/ThioJoe/5cc29231c5cb1a8f051df28a69073f77
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

A basic script for uninstalling a list of app packages in Windows 10/11, including those pre-installed with Windows · GitHub

Instantly share code, notes, and snippets.

Last active August 7, 2023 13:29
  • Star 70 You must be signed in to star a gist
  • Fork 13 You must be signed in to fork a gist
A basic script for uninstalling a list of app packages in Windows 10/11, including those pre-installed with Windows

Cool! Btw, what exactly is the signature block for?

Author

Cool! Btw, what exactly is the signature block for?

It's a signature using my EV code signing certificate just so it can run on computers with stricter PowerShell execution policies such as AllSigned. For example if you right click it you'll see a "Digital Signatures" tab in the properties window. For most people it's not necessary but the certificate was really expensive so I try to use it whenever I can lol.

Can read a bit more about it here: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_signing?view=powershell-7.3

Just use Get-AppxPackage | Out-GridView -PassThru | Remove-AppxPackage which opens a GUI list where you can select apps to remove. There's also Remove-AppxPackage -AllUsers and Remove-AppxProvisionedPackage which are required in some cases to actually delete the apps and free up space.

ThioJoe, you are awesome! This was very helpful and good to know. So glad to know that we have people trying to activately stop the march of bloatware... confetti_ball

Epic script, bloatware on Windows is incredibly annoying,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK