Forum Discussion
Removing Unwanted apps in Windows using Intune
- Nov 16, 2022Did you tried this one: https://www.burgerhout.org/remove-bloatware-on-windows-10/
thank you for providing this link, I'm following through the steps provided on the website and I'm new to writing PowerShell so just thought id ask a question, with the final part of the script that executes the removal of the application, does that part of the script need to be repeated for each application ? providing each display name for every application I'm looking to remove, or is there an easier way to do it ?
Dylan_HarleyHi Dyan, if you look toward the bottom of the script, there is a for each loop, so the loop it running through each item in the $ProvisionedPackages List which comes from the $UninstalledPackages variable, Notices that when loop executes on trying to remove the package it is done in a Try statement, which is used in exception handling, if the try statements fails then an log is written to a file.