Command to get the ESXi host information from a running VM
Command to get the ESXi host information from a running VM
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”