New
#1
Does deprovision app package completely remove it?
I have a question that might be stupid, but, I made a script to remove the apps I don't use (or care about, which is essentially everything minus the calc and the store for "just in case" moments); but I've used the command to deprovision a package from all users.
Now to my questions, when you deprovision a package is the app actually completely removed from the system including it's settings and two, the only way to get it back is re-provision the package(s) and do a feature or in-place upgrade?
This is the script I made
Thanks in advance.Code:$ProvisionedAppPackageNames = @( "Microsoft.Wallet" "Microsoft.ScreenSketch" "Microsoft.VP9VideoExtensions" "Microsoft.MSPaint" "Microsoft.WebpImageExtension" "Microsoft.MicrosoftOfficeHub" "Microsoft.DesktopAppInstaller" "Microsoft.Getstarted" "Microsoft.Microsoft3DViewer" "Microsoft.XboxApp" "Microsoft.MixedReality.Portal" "Microsoft.BingWeather" "Microsoft.WindowsCamera" "Microsoft.WindowsFeedbackHub" "Microsoft.ZuneMusic" "Microsoft.WebMediaExtensions" "Microsoft.SkypeApp" "Microsoft.People" "Microsoft.MicrosoftStickyNotes" "Microsoft.GetHelp" "Microsoft.MicrosoftSolitaireCollection" "Microsoft.HEIFImageExtension" "microsoft.windowscommunicationsapps" "Microsoft.WindowsSoundRecorder" "Microsoft.WindowsMaps" "Microsoft.Windows.Photos" "Microsoft.ZuneVideo" "Microsoft.Office.OneNote" "Microsoft.549981C3F5F10" "Microsoft.WindowsAlarms" "Microsoft.YourPhone" ) foreach ($ProvisionedAppName in $ProvisionedAppPackageNames) { Get-AppxPackage -Name $ProvisionedAppName -AllUsers | Remove-AppxPackage Get-AppXProvisionedPackage -Online | Where-Object DisplayName -EQ $ProvisionedAppName | Remove-AppxProvisionedPackage -Online }