REQUESTED

List VMs by a Filter

Overview

Using the vSphere SDK, I am trying to figure out how to get a list of VMs and filter them by their properties.

For example:
get all of the VMs with a config.hardware.numCPU value of 2
get all of the VMs with a guest.guestFamily value of "linuxGuest"

Thank you.