vmware / pyvmomi-community-samples

A place for community contributed samples for the pyVmomi library.
Apache License 2.0
1.01k stars 922 forks source link

get the list of vms on a esx host #716

Open knitdv opened 1 year ago

knitdv commented 1 year ago

Describe the bug

I want to migrate all virtual machines from one host to another, how can I get a list of virtual machines on one of the esxi farm hosts. I only found methods to get a list of all the machines. please help me

Reproduction steps

1. 2. 3. ...

Expected behavior

1

Additional context

No response