Hello All,
Firstly I would like to apologise if this has been asked already but I am not able to find a specific answer, and secondly I am fairly new to SCCM so might have to bare with me.
As you have guessed by the title we are trying to use Sherry's Local Admin Query but the steps mentioned refer to SCCM 2007 which I believe is slightly different in the way things are described and laid out.
Ok here are the steps from Sherry's blog with my comments / pleas for help.
Step 1: The DCM Configuration Item.
- Create a new, General Configuration Item, call it whatever Name you wish, but you'll need to use that name later in a report. For this demo, the name is "Local Group Members into WMI", click Next
- OK have managed this step so far, this is done under "Assets and Compliance" (bottom left of console) then expand "Compliance Settings" right click on "Configuration Items" and select "Create Configuration Item" this launches the Wizard.
- There are no Objects, click Next - HELP does this relate to SCCM 2007 only as I cant see this in the Create Configuration Item Wizard in SCCM 2012
- Under Settings, Select New, Script.
- Display Name doesn't matter, I'll call it "WMIFramework For LocalGroupMembers"
- Got It
- Description can be anything, perhaps something like "Building the Custom WMI Namespace of root\cimv2\cm_localgroupmembers for later inventory retrieval"
- Done
- and paste in the
vbscript - OK so you need to change the "Setting Type" to Script here, HELP - I am guessing that "Data Type" is String, then click the "Add Script" button. New window opens change "Script Language" drop down to VBScript and copy in the
provided script.
- Click on the Validation Tab, and change Severity to "Information - no Windows Event Message". Retain the check box for "report a non-compliance event when this instance count fails, of Greater than 0
- HELP cant find this, is this "Compliance Rules" in SCCM 2012 if so cant see change Severity to "Information - no Windows Event Message. But can see a checkbox for "Report noncompliance if this
setting instance is not found" which is slightly different to "report a non-compliance event when this instance count fails, of Greater than 0
- OK
- Applicability = All Windows Platforms. - OK but this is earlier in the SCCM 2012 Wizard
Hopefully if someone can help me over these steps then we should be able to crack the rest.
Many thanks for your help in advance.
Graham