Created
February 3, 2017 14:49
-
-
Save atao/34000b70a031029629fe5f1ed3666728 to your computer and use it in GitHub Desktop.
Windows - Remove Apps For Every User
This file contains 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
$appname = @( | |
"*BingWeather*" | |
"*ZuneMusic*" | |
"*ZuneVideo*" | |
) | |
ForEach($app in $appname){ | |
Get-AppxPackage -Name $app | Remove-AppxPackage -ErrorAction SilentlyContinue | |
} | |
Remove-Item -Path "$env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\startup\test.bat" -Force | |
Remove-Item -Path "$env:USERPROFILE\AppData\local\removeappxpackages.ps1" -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment