3 Replies Latest reply on Nov 1, 2018 4:40 AM by LucD

    PowerCli - Find VM in Multiple vCenter

    Bunty11 Enthusiast

      How to find a VM in multiple vCenter using powercli.

       

      I tried :

       

      $vCenters = @("xx""xx")

      ForEach-Object ($vCenter -in $vCenters)

      {

      $Connect = Connect-VIServer $vCenter -User xxxxx -Password xxxxx

      }