Here is a PowerShell script you can use to identify the Physical host name of a Virtual server.
$regPath= "HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters"
$regValue = get-itemproperty -path $regPath
$regValue | fl "VirtualMachineName","PhysicalHostNameFullyQualified"
In this script I am looking for the values in the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters
Download: You can download the script from this location
Updated script - http://portal.sivarajan.com/2011/04/identify-physical-host-of-virtual.html










0 comments:
Post a Comment