Quickly view all IP addresses of Hyper-V VMs

Find the IP addresses of all VMs quickly via PowerShell.

John Savill

May 29, 2016

1 Min Read
Quickly view all IP addresses of Hyper-V VMs

Q. How can I quickly view all the IP addresses from inside my Hyper-V VMs?

A. To retrieve the IP address via the Hyper-V integration services (Windows and Linux) use the following PowerShell:

Get-VM | Select-Object -ExpandProperty NetworkAdapters | Select-Object VMName,IPAddresses

This will display all the IP addresses for all VMs.

About the Author(s)

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like