SCCM: Creating Collections for Client versions


Today I got a call from a System Center Configuration Manager (SCCM/ConfigMgr) customer that wanted to automate the creation of device collections for each SCCM client version, that was in their environment. I guess summer time means “time to cleanup/fix all the broken clients” 🙂

A couple of years ago I create another similar script for CU updates: but this time I wanted to make the script simpler, fully automated and only create the collections that was needed by the customer.

This script will pull a list of all the client versions from the SCCM site server, and create a collection for each of them. That way you don’t need to maintain the script every time a new version/update of SCCM are released. Simply just run the script again.

Download the Script here:


+Ronni Pedersen

About Author

My name is Ronni Pedersen and I'm currently working as a Cloud Architect at APENTO in Denmark. My primary focus is Enterprise Client Management solutions, based on technologies like AzureAD, Intune, EMS and System Center Configuration Manager. I'm is also a Microsoft Certified Trainer and Microsoft MVP in Enterprise Mobility.

1 Comment

Leave A Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.