Updated Clean Software Update Groups script for ConfigMgr
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.
Principal Consultant and Enterprise Mobility MVP since 2016. Nickolaj has been in the IT industry for the past 10 years specializing in Enterprise Mobility and Security, Windows devices and deployments including automation. Currently working for TrueSec as a Principal Consultant. Awarded as PowerShell Hero in 2015 by the community for his script and tools contributions. Creator of ConfigMgr Prerequisites Tool, ConfigMgr OSD FrontEnd, ConfigMgr WebService to name a few. Frequent speaker at conferences and user groups.