clear-host write-host "This script will attempt to remove Windows Store Apps." $ar = @( "Microsoft.WebpImageExtension", "Microsoft.Wallet", "Microsoft.XboxSpeechToTextOverlay", "Microsoft.Print3D", "Microsoft.Messaging", "Microsoft.VCLibs.140.00.UWPDesktop", "Microsoft.VCLibs.140.00.UWPDesktop", "Microsoft.ScreenSketch", "microsoft.windowscommunicationsapps", "Microsoft.GetHelp", "Microsoft.Windows.Photos", "Microsoft.WindowsAlarms", "Microsoft.WindowsMaps", "Microsoft.YourPhone", "Microsoft.VP9VideoExtensions", "Microsoft.HEIFImageExtension", "Microsoft.Advertising.Xaml", "Microsoft.Advertising.Xaml", "Microsoft.WindowsStore" ) foreach($app in $ar){ $input = read-host "Do you wish to remove "$app"? Y/N" if($input -eq "Y"){ get-appxpackage $app -ErrorAction ignore | Remove-AppxPackage } $input = $null } #Jon Cartee