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

What is the database connection string for my website?

It is recommended that you take the help of your web developer to define the database connection...

How to Create a User Account on Window 2016 Server?

You always require to create user accounts on Window 2016 Server OS. Following are the steps to...

Fix - The Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine.

Following article describes, how you can fix an error "Microsoft.ACE.OLEDB.12.0' provider is not...

Can I Host Unlimited Websites with Different Domains in Windows or Linux VPS hosting?

There is no restriction on the total number of hosted domains on Windows VPS and Linux VPS...

How to install updates on Windows 2012 R2?

Windows Update is a service of Microsoft which helps your operating system to stay updated. It...