Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 210400

Finding a Host with a VM MoRef

$
0
0

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!


Viewing all articles
Browse latest Browse all 210400

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>