Mgmtclassgen from the SDK will generate4 strongly typed WMI classes for you. 
Makes life much easier if you're not already using this.

Thanks,
Brian Desmond
[email protected]

c - 312.731.3132

From: Klint Price [mailto:[email protected]]
Sent: Wednesday, June 17, 2009 8:59 PM
To: NT System Admin Issues
Subject: RE: Detect VMWare VM

Brian,

I am writing it in .NET, and already am doing some WMI queries to get the 
Physical RAM and OS Visible RAM.

I will look into this further tomorrow for VMWare.

Klint

________________________________
From: Brian Desmond [[email protected]]
Sent: Wednesday, June 17, 2009 6:24 PM
To: NT System Admin Issues
Subject: RE: Detect VMWare VM
WMI with the class someone posted earlier would be the correct way to do this.

What are you writing your service in?

Thanks,
Brian Desmond
[email protected]

c - 312.731.3132

From: Klint Price [mailto:[email protected]]
Sent: Wednesday, June 17, 2009 7:44 PM
To: NT System Admin Issues
Subject: RE: Detect VMWare VM

I am writing an inventory application.

Basically a windows service will run on each machine in the domain, and it will 
publish various variables to a web service that will write to a db.

I have a 60 column or so spreadsheet to track my 400+ servers in a dev 
environment (think constant domain membership changes, renames, application 
upgrades, etc), but it is prone to human error, and I would rather the system 
tell me what is on it, than a tech tell me what they "think" is on it.

That way I will easily be able to keep my ping monitors and patch management up 
to date, and can provide snapshots of how the enterprise looks at any given 
moment.

Klint


________________________________
From: Eldridge, Dave [[email protected]]
Sent: Wednesday, June 17, 2009 5:32 PM
To: NT System Admin Issues
Subject: RE: Detect VMWare VM
Klint if you would why do you want to know this?

I know we routinely put vendor applications on VM's and of course they never 
know the difference. It just works for them.
Just curious.



From: Klint Price [mailto:[email protected]]
Sent: Wednesday, June 17, 2009 6:08 PM
To: NT System Admin Issues
Subject: Detect VMWare VM

Is there a script that will detect if the OS is running on a VM?

Klint





This e-mail contains the thoughts and opinions of the sender and does not 
represent official Parkview Medical Center policy.

This communication is intended only for the recipient(s) named above, may be 
confidential and/or legally privileged: and, must be treated as such in 
accordance with state and federal laws. If you are not the intended recipient, 
you are hereby notified that any use of this communication, or any of its 
contents, is prohibited. If you have received this communication in error, 
please return to sender and delete the message from your computer system.

















~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to