Tag Archives: Hyper-V and PowerShell

4 Steps to Get IP Address of all VMs in Hyper-V

4-Steps-to-Get-IP-Address-of-all-VMs-in-Hyper-VIn this short & sweet tutorial we will try to make our system admins job easier to manage Hyper-V platform, at least I hope. Whether for export, to find who own an IP address or to find an available IP address, etc… You may need to know quickly what are the IP addresses used by your VM on a Hyper-V host.

For this, we will rely on the Hyper-V module for PowerShell and specifically the Get-VM cmdlets.

So let’s see how to get VM IP with PowerShell

1. Open a PowerShell console (run as administrator) and enter the following command:

2. The widespread property of “NetworkAdapters” benefits us, so we will select:

3. Again if we remade a Get-Member about this command, you will get a number of important sub-properties, we will select a few:

read more

Posted in FAQs | Tagged | Comments Off on 4 Steps to Get IP Address of all VMs in Hyper-V