Command to get the ESXi host information from a running VM

Posted on Updated on


Not able to find the VM in the vCenter/inventory? here is a way, there is a Command to get the ESXi host information from a running VM.

To get ESXi host name:

C:\>”C:\Program Files\VMware\Vmware Tools\vmtoolsd.exe” –cmd “info-get guestinfo.hypervisor.hostname”

To get the ESXi Build details:

C:\>”C:\Program Files\VMware\Vmware Tools\vmtoolsd.exe” –cmd “info-get guestinfo.hypervisor.build”

One thought on “Command to get the ESXi host information from a running VM

    Heron said:
    August 16, 2019 at 1:14 am

    How to find the HOST IP information? Commands above get the info from the guest not form the host

    Like

Leave a reply to Heron Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.