$packageIds = @( "Microsoft.3DBuilder" "Microsoft.BingFinance" "Microsoft.BingNews" "Microsoft.BingSports" "Microsoft.BingTranslator" "Microsoft.BingWeather" "Microsoft.GetHelp" "Microsoft.Getstarted" "Microsoft.Messaging" "Microsoft.Microsoft3DViewer" "Microsoft.MicrosoftOfficeHub" "Microsoft.MicrosoftSolitaireCollection" "Microsoft.NetworkSpeedTest" "Microsoft.Office.OneNote" "Microsoft.OneConnect" "Microsoft.People" "Microsoft.Print3D" "Microsoft.RemoteDesktop" "Microsoft.Windows.Photos" "Microsoft.WindowsAlarms" "Microsoft.WindowsCamera" "microsoft.windowscommunicationsapps" "Microsoft.WindowsFeedbackHub" "Microsoft.WindowsMaps" "Microsoft.WindowsSoundRecorder" "Microsoft.Xbox.TCUI" "Microsoft.XboxApp" "Microsoft.XboxGameOverlay" "Microsoft.XboxGamingOverlay" "Microsoft.XboxSpeechToTextOverlay" "Microsoft.YourPhone" "Microsoft.ZuneMusic" "Microsoft.ZuneVideo" "Microsoft.3DViewer" "Microsoft.People*" "Microsoft.MSPaint" "Windows.DevHome*" ) foreach ($id in $packageIds) { Get-AppxPackage -allusers $id | Remove-AppxPackage -AllUsers }