header image

Hyper-V VM IP address

Posted by: | September 9, 2019 Comments Off on 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

under: Hyper-V, PowerShell

Comments are closed.