Found this page by googling:
http://portal.sivarajan.com/2010/01/identify-physical-host-of-virtual.html
$regPath= "HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters"
$regValue = get-itemproperty -path $regPath
$regValue | fl "VirtualMachineName","PhysicalHostNameFullyQualified"
No comments:
Post a Comment