Help regarding discovery of ipaddresses and fully qualified DNS name of virtual machines from WMI classes


can me regarding the classes present finding infromation on hyper-v pertaining ipaddress,fully qualified host name,os.i have tried msvm_summaryinformation doesnt work.i have tried msvm_kvpexchangecomponent.guestintrinsicexchangeitems[].but not direct answer.
can please me regarding this????????????????????

hello,

 

do mean want retrieve information (including ip address, fqdn, os version, etc.) virtual machine?

 

well, information of guest os can retrieved directly, including fullyqualifieddomainname, osname, osversion, csdversion, osmajorversion, osminorversion, osbuildnumber,osplatformid, servicepackmajor, suitemask, producttype, processorarhitecture. these information located @ hklm\software\microsoft\virtual machine\auto.

 

if want retrieve other information guest os (e.g. ip address), need additional configurations:

 

in virtual machine, exact information want (e.g. ip address) , add information following registry location. location child partition share information parent partition.

 

hklm\software\microsoft\virtual machine\external

 

then, can retrieve information on parent partition.

 

taylor brown has given detailed information , steps on this, including powershell script:

 

http://blogs.msdn.com/taylorb/archive/2008/07/07/hyper-v-wmi-kvp-exchange-aka-data-exchange-adding-new-items-from-guest.aspx

 

http://blogs.msdn.com/taylorb/archive/2008/05/06/hyper-v-wmi-using-powershell-scripts-part-3-kvp-s-guest-os-version.aspx

 

best regards,

chang yin


Windows Server  >  Hyper-V



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file