Determining the name of the VMware host of a VM guest – from the guest

guesthostnamevmware-esxvmware-esxivmware-tools

Is it possible to determine the name of the VMware host (ESX or ESXi) that my guest resides in, from within the guest itself?

I would expect this to be possible via VMware Tools, but am not sure where to look.

Best Answer

You can't do it without first editing the VMX file.

Here is the stackoverflow answer to the same question