移除windows10/11的xbox相关应用
在管理员身份的powershell中运行
1Get-ProvisionedAppxPackage -Online | `Where-Object { $_.PackageName -match "xbox" } |`
2ForEach-Object { Remove-ProvisionedAppxPackage -Online -AllUsers -PackageName $_.PackageName }
在管理员身份的powershell中运行
1Get-ProvisionedAppxPackage -Online | `Where-Object { $_.PackageName -match "xbox" } |`
2ForEach-Object { Remove-ProvisionedAppxPackage -Online -AllUsers -PackageName $_.PackageName }