5 Replies Latest reply on Oct 12, 2019 2:51 AM by iiliev

    vRO xPath Query

    GurpreetKaurBabbar Lurker

      Hi Guys,

       

      I am using below xpath query to find a Virtual Machine using IpAddress, However it takes about 4-7 minutes to find a single VM ( Inventory has 5000 VMs )

      Can you guys suggest me a way to fasten the response of the query If possible to a minute or an alternate way.

       

      var ipAddress

      var vms = Server.query("VC:VirtualMachine","xpath:ipAddress[contains(.,'" + ipAddress +"')]")

       

      ( vRO 7.6 ; vCEnter 6.5 )

       

      Thanks in advance.

       

      Regards

      Gurpreet Kaur Babbar