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

In Classic Windows VPS plan, do we get latest version of SQL and Visual Studio installed? Also do we get latest .Net framework?

While placing an order, you will get an option to select SQL server version and its edition....

Why do my email receipients receive (?????) question marks when I send emails using Arabic text?

Sometimes, emails sent through the SmarterMail containing Arabic texts, show the question marks...

How to add TXT record in windows server DNS?

TXT record allows a domain administrator to enter text into the Domain Name System (DNS).  You...

How to fix 500 Internal Server Error for PHP 7.4 with IIS on Windows Server?

You might see the below error while you install PHP 7.4 on the windows server with IIS and run...

Schedule automatic Windows updates on specific date on Windows 2012 R2.

Microsoft releases Windows updates at regular intervals. Installing Windows updates on your...