Quantcast
Channel: Zenoss Community: Message List - Newbie - Device List question
Viewing all articles
Browse latest Browse all 5

Re: Newbie - Device List question

$
0
0

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

http://www.computerperformance.co.uk/vbscript/wmi_who_logon.htm#Example_1_-_Discover_who_is_Logged_on_at_a_Computer

 

Maybe someone with more experience using Zenoss WMI can explain how to retrieve that information.

>


Viewing all articles
Browse latest Browse all 5

Trending Articles