1 Reply Latest reply on Dec 5, 2017 8:43 AM by LucD

    Return duplicate UUIDs

    GarTomlon Lurker

      When we do a vSPhere replication between Datacenters, we end up with duplicate IDs.  We have a process where I can export the VM and IDS to a CSV.  This is a full export using the following command ( in a powershell script).  It works fine.  I then massage the data in Excel to return the dup ids.  How can I modify this exisitng command so that it exports only the records with dupe ids?

       

      get-vm | get-view | select name,@{l="uuid";e={$_.config.instanceuuid}}|export-csv $csvfile

       

      Thanks