VMware Cloud Community
Albatross1
Contributor
Contributor

Aggregate CPU Capacity

I have 5 servers in a cluster with 4 cores each at 2GHz per core.  My aggregate cluster capacity is 40Ghz.

How could I get this data on aggregate CPU capacity for a cluster using PowerCLI?

Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

Try something like this

Get-Cluster -Name MyCluster | 
Select Name,
@{N="CPU Mhz";E={$_ | Get-VMHost | %{
   
$_.ExtensionData.Summary.Hardware.CpuMhz * $_.ExtensionData.Summary.Hardware.NumCpuCores} |
   
Measure-Object -Sum | Select -ExpandProperty Sum}}


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos