Find the Hostname of a Hyper-V VM

Argomenti vari di carattere sistemistico
Post Reply
daniele
Posts: 342
Joined: 04 Mar 2009, 13:59

Find the Hostname of a Hyper-V VM

Post by daniele »

METHOD 1 - Via PowerShell

Code: Select all

Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters"  | Select-Object HostName
METHOD 2 -Manual search into the registry

Launche REGEDIT and search the following key:

Code: Select all

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters
Post Reply