Hi,

I'm trying to inventory the classes in root\MSCluster on our servers via SCCM 
2012.

I've added the classes via the SCCM console but no rows get returned.  I've 
created a powershell script that creates a custom WMI class and reads from 
these classes into the new class that works perfectly if I'm logged into the 
server and test it.

If I deploy the script via SCCM it returns no rows - so I guessing same 
problem.  Seems like the SYSTEM context doesn't have access to this.
When I used vbscript in sccm2007 this method worked.  I'd prefer to use 
powershell going forward.

I've also tried running the SCCM agent on the server under an administrator 
service account but this just seems to break the agent from an inventory point 
of view.

The only other way I can think of is to create a scheduled task that runs the 
script but I'd prefer to keep it closer to SCCM and schedule directly with SCCM.

Anyone been successful in doing this ?

Thanks
Deon

#############################################################################################
The information transmitted is intended only for the person or entity to which 
it 
is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of, or taking of any 
action
in reliance upon, this information by persons or entities other than the 
intended 
recipient is prohibited. If you received this in error, please contact the 
sender and
delete the material from any computer.

Furthermore, the information contained in this message, and any attachments 
thereto, is
for information purposes only and may contain the personal views and opinions 
of the 
author, which are not necessarily the views and opinions of the company.
#############################################################################################



Reply via email to