2016年12月29日 星期四

WIN10部屬-移除APP

移除目前登入帳號所有APPS(不包含相片檢視器、小算盤、市集),並且讓新使用者登入不會預載這些APPS


以系統管理員身分開啟Powershell,貼上底下指令

$RemoveApps = @(
"Microsoft.3DBuilder"
"Microsoft.BingFinance"
"Microsoft.BingNews"
"Microsoft.BingSports"
"Microsoft.BingWeather"
"Microsoft.CommsPhone"
"Microsoft.ConnectivityStore"
"Microsoft.Getstarted"
"Microsoft.Messaging"
"Microsoft.MicrosoftOfficeHub"
"Microsoft.MicrosoftSolitaireCollection"
"Microsoft.Office.OneNote"
"Microsoft.Office.Sway"
"Microsoft.People"
"Microsoft.SkypeApp"
"Microsoft.WindowsAlarms"
"Microsoft.WindowsCamera"
"microsoft.windowscommunicationsapps"
"Microsoft.WindowsPhone"
"Microsoft.WindowsMaps"
"Microsoft.WindowsSoundRecorder"
"Microsoft.XboxApp"
"Microsoft.ZuneMusic"
"Microsoft.ZuneVideo"

)

ForEach ($App in $RemoveApps) {
Write-Host Removing $App
Get-AppxPackage $App | Remove-AppxPackage
Get-AppxProvisionedPackage -Online | Where-Object {$_.DisplayName -eq $App} | Remove-AppxProvisionedPackage -Online
}

沒有留言:

張貼留言