Hi,
We have 2 node hyper-v Windows 2012 R2 cluster.
Couple VMs run on this cluster.
I have check "Guest services" on each VM to get Guest services installed.
Run following script to get VMs' host name:
(get-item "HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters").GetValue("HostName")But script failed with error: get-item : Cannot find path 'HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters' because it does not exist.
Is any way to get each VMs host name and IP from hyper-v host?
Thanks