Monthly Archive

Categories

Hyper-V VM IP address

Saw a question about getting the Hyper-V VM IP address.

 

One thing with Hyper-V is that the VM has to be running for you to retrieve the IP address.

 

Once you VM is running you can get the IP address

PS> Get-VM -Name W19ND01 | select -ExpandProperty NetworkAdapters | select VMname, Name, IPAddresses

 

You’ll get the IPv4 and IPv6 address returned

Comments are closed.