See, that script isn't using a singular WMI query, so you can't easily
do that from Zenoss. I don't think wmic on Zenoss is going to return an
object that you can then run another method on...
In fact, that's actually returning a collection of objects if I
understand it right (I'm not a vbs expert), and honestly, it's really
confusing to me what it's doing...
You can do "Select * from Win32_ComputerSystem", but all you're likely
to get is the computer name (at least in my test with wbemtest... You
can't get a windows object in this way...
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
phonegi wrote, On 3/5/2010 12:01 AM:
You can use WMI to retrieve a list of logged on users.
See:
http://msdn.microsoft.com/en-us/library/aa394102%28VS.85%29.aspx
Maybe someone with more experience using Zenoss WMI can explain how to retrieve that information.
>