Remove-Win10BuiltinApps.ps1
<#PSScriptInfo .VERSION 0.1.1 .GUID ea6cce44-aeda-4231-8da7-a3796e2fbfe6 .AUTHOR Rowel Balot .COMPANYNAME .COPYRIGHT The IT Blogs .TAGS Windows 10, Built-in Apps, Provisioned Apps, Remove Apps .LICENSEURI .PROJECTURI https://www.theitblogs.com/ .ICONURI .EXTERNALMODULEDEPENDENCIES .REQUIREDSCRIPTS .EXTERNALSCRIPTDEPENDENCIES .RELEASENOTES #> <# .DESCRIPTION Remove Windows 10 Builtin Application #> Param( [Parameter(Mandatory=$false,Position=0)] [string[]]$AppList=@("*Microsoft.Xbox*", "*Microsoft.Getstarted*", "*Microsoft.3DBuilder*", "*Microsoft.BingWeather*", "*Microsoft.GetHelp*", "*Microsoft.Getstarted*", "*Microsoft.Messaging*", "*Microsoft.MicrosoftOfficeHub*", "*Microsoft.MicrosoftSolitaireCollection*", "*Microsoft.Office.OneNote*", "*Microsoft.OneConnect*", "*Microsoft.SkypeApp*", "*Microsoft.StorePurchaseApp*", "*Microsoft.Wallet*", "*Microsoft.WindowsAlarms*", "*microsoft.windowscommunicationsapps*", "*Microsoft.WindowsFeedbackHub*", "*AutodeskSketchBook*", "*AutodeskSketchBook*" "*WinZipComputing.WinZipUniversal*" "*Plex*" "*Microsoft.SkypeApp*" "*MarchofEmpires*" "*king.com.CandyCrushSodaSaga*" "*king.com.BubbleWitch3Saga*" "*Microsoft.BingNews*" "*Microsoft.Messaging*" "*Microsoft.XboxSpeechToTextOverlay*" "*Microsoft.XboxGameOverlay*" "*Microsoft.XboxApp*" "*Microsoft.MicrosoftOfficeHub*" "*Microsoft.3DBuilder*" "*Microsoft.WindowsFeedbackHub*" "*Microsoft.BingWeather*" "*microsoft.windowscommunicationsapps*" "*Microsoft.MicrosoftSolitaireCollection*" "*Microsoft.Office.OneNote*" "*Microsoft.StorePurchaseApp*" "*Microsoft.MinecraftUWP*" "*Microsoft.Xbox.TCUI*" "*Microsoft.GetHelp*" "*Microsoft.Wallet*" "*Microsoft.XboxIdentityProvider*" "*Microsoft.WindowsAlarms*" "*Microsoft.OneConnect*" "*Microsoft.Getstarted*"), [Parameter(Mandatory=$false,Position=1)] [string[]]$ExceptionList=@() ) foreach ($App in $AppList) { Get-AppxPackage -Name -AllUsers $App | Remove-AppxPackage -AllUsers Get-AppxPackage -Name $App | Remove-AppxPackage Get-AppxProvisionedPackage -Online | ?{$_.DisplayName -like $App} | Remove-AppxProvisionedPackage -Online } |