Evaluation code:
$testFile = "$env:windir\RemovedBloatware.txt"
$testFileValue = (Test-Path $testFile)
if ($testFileValue -eq $true ) {
Exit 0
} else { Exit 1 }
Remediation code:
schtasks /delete /tn GlanceDiscovery /f
Get-AppxPackage -Allusers -Name MirametrixInc.GlancebyMirametrix | Remove-AppxPackage -AllUsers
Get-AppxPackage -Allusers -name "Microsoft.ZuneMusic" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.Music.Preview" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.XboxGameCallableUI" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.XboxIdentityProvider" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.BingTravel" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.BingHealthAndFitness" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.BingFoodAndDrink" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.People" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.BingFinance" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.3DBuilder" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.BingNews" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.XboxApp" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.BingSports" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.WindowsCamera" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.Getstarted" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.Office.OneNote" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.WindowsMaps" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.MicrosoftSolitaireCollection" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.MicrosoftOfficeHub" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.BingWeather" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.WindowsPhone" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.SkypeApp" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.Wallet" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.Messaging" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.MixedReality.Portal" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "microsoft.windowscommunicationsapps" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.WindowsMaps" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.GetHelp" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.Office.OneNote" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.YourPhone" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.OneConnect" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.WindowsFeedbackHub" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.XboxGameOverlay" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.XboxGamingOverlay" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.XboxIdentityProvider" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.XboxSpeechToTextOverlay" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name "Microsoft.Microsoft3DViewer" | Remove-AppxPackage -Allusers
Get-AppxPackage -Allusers -name *LinkedInforWindows* | Remove-AppxPackage -Allusers
New-Item -ItemType file $env:windir\RemovedBloatware.txt