1 Reply Latest reply on Nov 21, 2013 10:42 AM by SteveR77

    Get-Cluster Not Returning All Clusters

    SteveR77 Novice



      I am attempting to build a PowerCli script to step through my clusters and then provide a breakdown of the vCPUs.'

      However, when I execute the following it only shows two of the eight clusters in my environment.  I am not certian what I am missing as this

      should be straightforward.


      The code snippet I am testing is below -


      Connect-VIServer MyServerInfo


      ($Cluster in (Get-Cluster | Sort Name)){

      Write-Host “Cluster: $($Cluster.name)“



      Thank you for your assistance with this.