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

Related Articles

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...

How to fix Schannel error 36874?

You may find this error in Windows Server 2008, Windows Server 2008 R2, Windows Server 2012,...

How to reset your lost password for windows vps with 2016 OS created on a Hyper-V Server?

You may fall into a situation where you forgot the VPS login (administrator/root) password. The...

Do you have any limits for setting up Cron jobs or schedule tasks?

Windows Shared Hosting Plans:We do not offer cron jobs in Windows shared hosting plans. Linux...

Do You Provide TUN/TAP On VPS Hosting?

Typically, TUN/TAP is used when you want to utilize VPN services from your VPS. Windows VPS...

  • 0 Users Found This Useful

Was this answer helpful?