# How to use
# In the PowerShell (Admin) console, type or copy and paste in the command below and hit Enter to output a list of Xbox packages on your system.
Get-ProvisionedAppxPackage -Online | `
Where-Object { $_.PackageName -match "xbox" } | `
ForEach-Object { Remove-ProvisionedAppxPackage -Online -AllUsers -PackageName $_.PackageName }