When upgrading the System Center Configuration Manager (SCCM) client to a new version, most customers would prefer to create new collections for this task.
As a cosultant I create alot of these “ad-hoc” collections every time I visit a customer, so I’ve created a small libary of PowerShell scripts that will help me create these collections really fast when I need them.
Here is a simple PowerShell script that will create 2 kinds of collections that will help you for this specific task.
- #CLI – Client Version; That will have all clients with a specific client version.
- #CU – Cumulative Updates; That will have all clients that requires a specific CU update.
Download the PowerShell script here:
I’ll try update the script everythime a new update (CU or Service Pack) are released.
Update: The script has now (3/2-2015) been updated to support SCCM 2012 R2 CU4.
After you run the script you should see the following collections in the console: