|
@ -3,6 +3,7 @@ |
|
|
# to remove certain Apps comment out the corresponding lines below. |
|
|
# to remove certain Apps comment out the corresponding lines below. |
|
|
|
|
|
|
|
|
$apps = @( |
|
|
$apps = @( |
|
|
|
|
|
# default Windows 10 apps |
|
|
"Microsoft.3DBuilder" |
|
|
"Microsoft.3DBuilder" |
|
|
"Microsoft.Appconnector" |
|
|
"Microsoft.Appconnector" |
|
|
"Microsoft.BingFinance" |
|
|
"Microsoft.BingFinance" |
|
@ -29,12 +30,19 @@ $apps = @( |
|
|
"Microsoft.ZuneMusic" |
|
|
"Microsoft.ZuneMusic" |
|
|
"Microsoft.ZuneVideo" |
|
|
"Microsoft.ZuneVideo" |
|
|
"microsoft.windowscommunicationsapps" |
|
|
"microsoft.windowscommunicationsapps" |
|
|
|
|
|
|
|
|
|
|
|
# apps from Windows 8 upgrade |
|
|
|
|
|
"9E2F88E3.Twitter" |
|
|
|
|
|
"Flipboard.Flipboard" |
|
|
|
|
|
"Microsoft.MinecraftUWP" |
|
|
|
|
|
"ShazamEntertainmentLtd.Shazam" |
|
|
|
|
|
"king.com.CandyCrushSaga" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
foreach ($app in $apps) { |
|
|
foreach ($app in $apps) { |
|
|
Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage |
|
|
Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage -ErrorAction SilentlyContinue |
|
|
|
|
|
|
|
|
Get-AppXProvisionedPackage -Online | |
|
|
Get-AppXProvisionedPackage -Online | |
|
|
where DisplayName -EQ $app | |
|
|
where DisplayName -EQ $app | |
|
|
Remove-AppxProvisionedPackage -Online |
|
|
Remove-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue |
|
|
} |
|
|
} |
|
|