How to get VM IP Address lied in Hyper V?

With the help of powershell, you can quickly find out the ip address used by your virtual machines on Hyper-V. Following are the steps for this.

Note : Above steps will work if there is integration service is installed on all of your virtual machines. If any of the Virtual Machine is stopped on your Hyper V, you can't get the IP Address of the same machine.

  1. Open Powershell (Run as administrator) and enter the below command.

    Get-VM | Get-Member
  2. Select the Network Adaptors with the below command.

    Get-VM | Select-Object NetworkAdapters
  3. Select the few other component like IP Address, VM name etc. This will show the ip address and name of the virtual machine.

    Get-VM | Select-Object NetworkAdapters | Select-Object VMName, IPAddresses, switchName
    
  4. If you would like to get the details with the order to virtual machine name, IP address, and name.

    Get-VM | Get-VMNetworkAdapter | ft VMName, IPAddresses, switchName
  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to Open Ports in Firewall on Windows Server 2016?

Following article will assist you to open ports in Firewall on Windows VPS with Windows Server...

How to open Firewall Ports on Windows Server 2012?

Following article will help you to open ports in Windows Firewall with Windows Server 2012...

Do You Provide Crystal Report in Windows Hosting Plans?

Windows Shared Hosting In Windows Shared Hosting, we only provide SAP Crystal Reports runtime...

How to Set Redirection for the websites hosted on Windows and Linux servers?

This article describes how to set redirections in the websites hosted on Linux and Windows...

How to Install Python on Windows server?

Python is a high-level language and in high-demand nowadays. Following are the steps to install...