Jump to content
NAKIVO Community Forum

Find name of VM


Lu.tai
 Share

Recommended Posts

Hi, @Lu.tai

You can do it in two cases: if you know the IP address or the MAC address of the mentioned VM. 

1. If you know the IP address, do the following:

 

  • Connect to the ESXi host or vCenter.
  • Enter the username and password (It has to be an administrative account.):

Connect-VIServer ESXi_or_vCenter_IP -User root

  • The most straight-forward command to display a virtual machine with the defined IP address is:

Get-VM * |where-object{$_.Guest.IPAddress -match "192.168.17.137"}

(Where "192.168.17.137" is your chosen VM's IP address.)

2. Alternatively, you can identify the virtual machine's name with its IP address by using vSphere PowerCLI. Find more details on this and how to identify the VM name by MAC address in our blog post https://www.nakivo.com/blog/locating-vmware-vms-by-ip-or-mac-address/

Let me know if you have any additional questions.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...