I'd like to know how to get a list of all VMs running on a specific host, for example:
vcenter01 -> datacenter2 -> cluster4 -> host1 -> vm1, vm2, ... vm25
I had a look at the example code in the docs, but it's quite confusing... or I am just not using the correct parameters :smileyconfused:
Can you help me out with some sample code?
Thanks a lot in advance