|
|
@ -4,42 +4,42 @@ |
|
|
|
# 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" |
|
|
|
"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-AppxPackage -Name $app -AllUsers | Remove-AppxPackage |
|
|
|
|
|
|
|
Get-AppXProvisionedPackage -Online | |
|
|
|
where DisplayName -EQ $app | |
|
|
|
Remove-AppxProvisionedPackage -Online |
|
|
|
Get-AppXProvisionedPackage -Online | |
|
|
|
where DisplayName -EQ $app | |
|
|
|
Remove-AppxProvisionedPackage -Online |
|
|
|
} |
|
|
|