This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| replaced by https://gist.github.com/mayel/c07bc0acb91824501d5bdbdc9eb7b33a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| write-Host "*******Decrapifying Windows 10...*******" | |
| write-Host "***Removing App Packages...***" | |
| #I recommend running this script on a fresh install, though it should work fine anyways. Should ;) | |
| #This part removes all the apps. By default, it removes every except the calculator and the store. To remove all apps, comment out this part... | |
| Get-AppxPackage -AllUsers | where-object {$_.name -notlike "*Microsoft.WindowsStore*"} | where-object {$_.name -notlike "*Microsoft.WindowsCalculator*"} | Remove-AppxPackage | |
| Get-AppxProvisionedPackage -online | where-object {$_.packagename -notlike "*Microsoft.WindowsStore*"} | where-object {$_.packagename -notlike "*Microsoft.WindowsCalculator*"} | Remove-AppxProvisionedPackage -online |
NewerOlder