Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 252940

Re: Cluster name,Total ESX in cluster,each ESX name, cpu socket & cores for each ESX

$
0
0

You mean something like this ?

 

Get-Cluster|%$cluster=$_
 
$esx=Get-VMHost-Location$cluster
 
$esx|Select@{N="Cluster";E={$cluster.Name}},
    @{N="ESXi in cluster";E={$esx.Count}},
    Name,
    @{N="NumCPU";E={($_|Get-View).Hardware.CpuInfo.NumCpuPackages}},
   
@{N="Cores";E={($_|Get-View).Hardware.CpuInfo.NumCpuCores}} }

 

You didn't specify in which layout you wanted the output, so I did it rather simple.


Viewing all articles
Browse latest Browse all 252940

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>