So you've implemented the new method for gathering up the contents of all local groups, including the local Administrators group members, and are no longer using the old method.
But now you've noticed when using Roger Zander's Client Center, the new custom class isn't listed in the Inventory area for a quick check interactively.
Here's how to add in the new custom class so you can see it remotely via Client Center.
- Browse to C:\program files\SCCM Tools\SCCM Client Center
- Open up SMSCliCTRV2.exe.config using notepad
- Find the section that has entries like these:
<string>root\cimv2:Win32_ComputerSystem:Name</string>
<string>root\cimv2:Win32Reg_AddRemovePrograms:DisplayName</string>
<string>root\cimv2:Win32_LocalAdmins:Member</string>
- Add in 1 new line:
<string>root\cimv2:cm_localgroupmembers:name</string>
- Save that text file.
Next time you run Client Center, when you target a client which has run the localgroupmembers method, you'll be able to ad-hoc query that namespace, and see the contents
