|
@ -4,42 +4,42 @@ |
|
|
# the corresponding lines below. |
|
|
# the corresponding lines below. |
|
|
|
|
|
|
|
|
$apps = @( |
|
|
$apps = @( |
|
|
"Microsoft.3DBuilder" |
|
|
"Microsoft.3DBuilder" |
|
|
"Microsoft.Appconnector" |
|
|
"Microsoft.Appconnector" |
|
|
"Microsoft.BingFinance" |
|
|
"Microsoft.BingFinance" |
|
|
"Microsoft.BingNews" |
|
|
"Microsoft.BingNews" |
|
|
"Microsoft.BingSports" |
|
|
"Microsoft.BingSports" |
|
|
"Microsoft.BingWeather" |
|
|
"Microsoft.BingWeather" |
|
|
"Microsoft.BioEnrollment" |
|
|
"Microsoft.BioEnrollment" |
|
|
"Microsoft.Getstarted" |
|
|
"Microsoft.Getstarted" |
|
|
#"Microsoft.MicrosoftEdge" |
|
|
#"Microsoft.MicrosoftEdge" |
|
|
"Microsoft.MicrosoftOfficeHub" |
|
|
"Microsoft.MicrosoftOfficeHub" |
|
|
"Microsoft.MicrosoftSolitaireCollection" |
|
|
"Microsoft.MicrosoftSolitaireCollection" |
|
|
"Microsoft.Office.OneNote" |
|
|
"Microsoft.Office.OneNote" |
|
|
"Microsoft.People" |
|
|
"Microsoft.People" |
|
|
"Microsoft.SkypeApp" |
|
|
"Microsoft.SkypeApp" |
|
|
"Microsoft.Windows.Cortana" |
|
|
"Microsoft.Windows.Cortana" |
|
|
"Microsoft.Windows.Photos" |
|
|
"Microsoft.Windows.Photos" |
|
|
"Microsoft.WindowsAlarms" |
|
|
"Microsoft.WindowsAlarms" |
|
|
"Microsoft.WindowsCalculator" |
|
|
"Microsoft.WindowsCalculator" |
|
|
"Microsoft.WindowsCamera" |
|
|
"Microsoft.WindowsCamera" |
|
|
"Microsoft.WindowsFeedback" |
|
|
"Microsoft.WindowsFeedback" |
|
|
"Microsoft.WindowsMaps" |
|
|
"Microsoft.WindowsMaps" |
|
|
"Microsoft.WindowsPhone" |
|
|
"Microsoft.WindowsPhone" |
|
|
"Microsoft.WindowsSoundRecorder" |
|
|
"Microsoft.WindowsSoundRecorder" |
|
|
"Microsoft.WindowsStore" |
|
|
"Microsoft.WindowsStore" |
|
|
"Microsoft.XboxApp" |
|
|
"Microsoft.XboxApp" |
|
|
"Microsoft.XboxGameCallableUI" |
|
|
"Microsoft.XboxGameCallableUI" |
|
|
"Microsoft.XboxIdentityProvider" |
|
|
"Microsoft.XboxIdentityProvider" |
|
|
"Microsoft.ZuneMusic" |
|
|
"Microsoft.ZuneMusic" |
|
|
"Microsoft.ZuneVideo" |
|
|
"Microsoft.ZuneVideo" |
|
|
"microsoft.windowscommunicationsapps" |
|
|
"microsoft.windowscommunicationsapps" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
foreach ($app in $apps) { |
|
|
foreach ($app in $apps) { |
|
|
Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage |
|
|
Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage |
|
|
|
|
|
|
|
|
Get-AppXProvisionedPackage -Online | |
|
|
Get-AppXProvisionedPackage -Online | |
|
|
where DisplayName -EQ $app | |
|
|
where DisplayName -EQ $app | |
|
|
Remove-AppxProvisionedPackage -Online |
|
|
Remove-AppxProvisionedPackage -Online |
|
|
} |
|
|
} |
|
|