Today I wanted to know a VM’s Host Name, because I was new to the VM. 🙂
So in the registry the VM’s Hostname is visible with the following Key
If this way is too long, the try the following with PowerShell
(get-item “HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters”).GetValue(“HostName”)
So now you are a little bit smarter ;-).