Wednesday, February 9, 2011

Identify the Physical Host of a Virtual Server using PowerShell

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