Is there any possibility to get ESXi host name within running windows VM via installed VMware Tools or any other way. Let us suppose I am working in a windows VM and I just want to know on which ESXi host or host version this VM is running. I googled and found below but this is not working.
vmtoolsd.exe --cmd "info-get guestinfo.hypervisor.hostname"
If you want to use that concept, you will first have to set that guestinfo variable, and eventually make it permanent via the VMX file.
See William's post How to extract host information from within a VM?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
If you want to use that concept, you will first have to set that guestinfo variable, and eventually make it permanent via the VMX file.
See William's post How to extract host information from within a VM?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference