VIToolkit/Powershell command - get vm's esx server location
I would like a command to reveal the esx server location of a vm
I know the vm name and want to quickly find the esx server it resides on from the ps/vi toolkit command line
????
Unless I'm missing something this is quite easy
(Get-Vm <VMname>).Host.Name
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Unless I'm missing something this is quite easy
(Get-Vm <VMname>).Host.Name
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference