Ever since I released the console extension for ConfigMgr to clean up Software Update Groups from expired and/or superseded Software Updates, many have given me lots of feedback and I’m now pleased to announce that I’ve updated the script with a new version. In this new version of the Clean-CMSoftwareUpdateGroups.ps1 script, the total execution time hav been improved enormously. Previously it could take minutes to complete the clean up process, but with the new version it only takes a couple of seconds (at least in my demo environment and at some customers where I’ve tested this). I’ve also added two new options for you to choose how to perform the clean up process, you can read more about that below.
With this updated script, you now have the option to clean your Software Update Groups by the following criteria:
- Expired and Superseded (Remove content)
- Expired and Superseded (Keep content)
- Expired Only (Remove content)
- Expired Only (Keep content)
- Superseded Only (Remove content)
- Superseded Only (Keep content)
Download the console extension
You can download the console extension from the TechNet Gallery.
Refer to the installation documentation on the following blog post:
Let me know if you have any questions or suggestions.