6 Replies Latest reply on Oct 13, 2015 5:35 AM by scotty p

    Find Cluster name in get-view

    scotty p Expert



      I'm trying to make a list of cluster names and number of hosts using get-view, but I'm having trouble figuring out how I can get the cluster name to align with the number of hosts.

      I'm starting with this...


      $cluster=get-cluster | get-view


      then I can pull the number of hosts per cluster, using




      But, it just shows a column of numbers. How can I also pull the cluster name next to that?