SCCM 2012 – Non-Compliant

SCCM 2012 – Non-Compliant

Hi All,

Have you ever needed to know which computer is in a non-compliance state for a baseline?

Well..there are 2 options. Option 1 is the open reports (Monitoring->Reports->Compliance and Settings Management->Summary compliance by Configuration Baseline) and then drill down to see what machines are not compliant…

Another option is to create a collection, and the best option to do it is on the Deployments tab for the Baseline, select the deployment you want, right click, select create new collection and select non-compliant and follow the wizard.

All steps are easy, isn’t it? but if you have many deployments and don’t want create a collection for it? or if you don’t want create a collection even if you have only 1 deployment? and let’s face the fact..opening the report will take too much of our time…

based on this, i’ve created a powershell script as well as a console extension that will allow you to see all machines that are in a non-compliant state with 1 click.

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

RFL-BaselineDetail.xml to <CM12R2Console Installation Path)\XmlStorage\Extensions\Actions\69353497-13d4-407d-9102-a79827dbf2d3 (change the CM12R2Console to the path of the console :))
NonCompliant.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 device, you’ll also be able to see the action (see below screenshot)

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


Raphael is a 9 times Microsoft MVP with over 20 years of experience in IT, in which 13 years have been dedicated to System Center and Automation. His extended experience has been developed through several IT roles, from first-line support to principal consultant, towards a wide range of clients and sectors. One of the four MVPs in Enterprise Client Management in the UK, Raphael holds more than 30 Microsoft certifications and is an MCT (Microsoft Certified Trainer). Since 2008, Raphael has been providing Microsoft trainings from basic to advanced levels in several categories. Throughout his career, Raphael has joined as speaker in well-known events such as TechEd and Gartner Security Risk Management. He also organised community events and lectured around the world, sharing best practices and knowledge within the industry. Bilingual in English and Portuguese, Raphael has authored diverse articles published in Microsoft's TechEd, served as the editor-in-chief of a magazine focused on System Center in Brazil and wrote two books: "Understanding System Center 2012 SP1 Configuration Manager: The walkthrough book" and "System Center 2012 R2 Configuration Manager: Automation from Zero to Hero".

Tagged with: , , , , ,