SCCM 2012 R2 – SW Update Group to Baseline

Hi All,

have you ever tried to create a baseline based on a Software Update? Yes, it is really painful as there is no “good” way to do it.

The default screen is like the following and as you can see, there is not easy way to do it and you cannot filter per baseline…
swupdate01

based on this, i’ve created a powershell script as well as a console extension that will allow you to create a baseline based on a sw update group.

To do it, download the CreateBaseline zip file, extract and add the files to the following places:

RFL-SUP Deployment Group.xml to <CM12R2Console Installation Path)\XmlStorage\Extensions\Actions\2853886b-cce5-4ed4-af43-df69efb2e7d8 and <CM12R2Console Installation Path)\XmlStorage\Extensions\Actions\bb1a22d4-816f-438c-b6e7-51cbc210112f (change the CM12R2Console to the path of the console :) )

CreateBaseline.ps1 to C:\Scripts\CM12R2Console on the same computer where you installed the CM12 R2 Console

Once you have done it, restart the console and you’ll see a new action group called RFL Systems and once you right click any software update group, you’ll also be able to see the action (see below screenshot)
swupdate02

when you click, a powershell screen will be shown and the baseline will be created
swupdate03

But what happen when the baseline already exist? Easy, the script will ask you to confirm if you want replace it or not. in case you want, it will replace it and the version history will be incremented.

email

Written by , Posted .
  • Le Follotec Franck

    thank you very much for your PS script