7 Replies Latest reply on May 24, 2019 9:03 AM by qc4vmware

    VCPlugin.getAllVirtualMachines with filters

    bdamian Hot Shot
    vExpert

      Hi all,

       

      I'm trying to find the correct way to use getAllVirtualMachines with filters. I want to get the list of all vms bloqued by question as is shown in the screenshot:

      I guess that the same result is possible using VcPlugin.getAllVirtualMachines(string[] additionalPropertyFilterrs, String query) but I cannot find the correct grammar for that.

       

      Get all VMs and then check for "vm.runtime.question" is very SLOW.

       

      Any ideas?

      Thanks a lot

      D.