I was trying to determine which Hyper-V host I was on today. I discovered that this setting is captured in the registry (perhaps there is a way in the GUI to find it quickly but I didn’t see anything that stood out).
So, with some handy PowerShell (this should work on Windows Server 2008, 2008 R2 and 2012 Guests, I was able to determine it quickly and I’ve tucked this away for another time and maybe it will help you too.
How to determine what Hyper-V host your guest is on, from the Guest itself
1: (Get-ItemProperty –path "HKLM:SOFTWAREMicrosoftVirtual MachineGuestParameters").PhysicalHostName
And you should end up with this…