In my current application I have a VM object and need to find the host object that it is on, so I can calculate the total Ghz allocated to the VM.
I found a reference to Get-VMHost in the PowerCLI where you can attribute a VM MoRef in the parameters, so it seems possible to do this. I just hope I don't have to search through all hosts to find the VM.
Thanks for the help!