You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.3 KiB
45 lines
1.3 KiB
# Description:
|
|
# This script removes unwanted Apps that come with Windows. Errors may occure
|
|
# during the process. If you do not want to remove certain Apps comment out
|
|
# the corresponding lines below.
|
|
|
|
$apps = @(
|
|
"Microsoft.3DBuilder"
|
|
"Microsoft.Appconnector"
|
|
"Microsoft.BingFinance"
|
|
"Microsoft.BingNews"
|
|
"Microsoft.BingSports"
|
|
"Microsoft.BingWeather"
|
|
"Microsoft.BioEnrollment"
|
|
"Microsoft.Getstarted"
|
|
#"Microsoft.MicrosoftEdge"
|
|
"Microsoft.MicrosoftOfficeHub"
|
|
"Microsoft.MicrosoftSolitaireCollection"
|
|
"Microsoft.Office.OneNote"
|
|
"Microsoft.People"
|
|
"Microsoft.SkypeApp"
|
|
"Microsoft.Windows.Cortana"
|
|
"Microsoft.Windows.Photos"
|
|
"Microsoft.WindowsAlarms"
|
|
"Microsoft.WindowsCalculator"
|
|
"Microsoft.WindowsCamera"
|
|
"Microsoft.WindowsFeedback"
|
|
"Microsoft.WindowsMaps"
|
|
"Microsoft.WindowsPhone"
|
|
"Microsoft.WindowsSoundRecorder"
|
|
"Microsoft.WindowsStore"
|
|
"Microsoft.XboxApp"
|
|
"Microsoft.XboxGameCallableUI"
|
|
"Microsoft.XboxIdentityProvider"
|
|
"Microsoft.ZuneMusic"
|
|
"Microsoft.ZuneVideo"
|
|
"microsoft.windowscommunicationsapps"
|
|
)
|
|
|
|
foreach ($app in $apps) {
|
|
Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage
|
|
|
|
Get-AppXProvisionedPackage -Online |
|
|
where DisplayName -EQ $app |
|
|
Remove-AppxProvisionedPackage -Online
|
|
}
|
|
|