Add sample for using Property collector to assist in filtering VMs
Add sample for using Property collector to assist in filtering VMs

The property collector can be used to fetch a subset of properties
for a large amount of objects with fewer round trips that iterating.

This sample shows how it could be used to fetch the power state of
all the VMs and post-process filter on them.

Note the printing vm.name does cause round-trip per-VM, so it could
be extended in a real script/product to fetch the name property as
well.

I used the ViewManager to gather VMs as it seems easier than making
a traverse spec go through all the datacenters to gather VMs that
may also be in sub-folders.

ddcrjlalumiere/pyvmomi-community-samples,vmware/pyvmomi-community-samples,pathcl/pyvmomi-community-samples,prziborowski/pyvmomi-community-samples,jm66/pyvmomi-community-samples