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

Re: Total Processor script

$
0
0

Hello-

 

To get the number of physical CPUs for all VMHosts, by cluster, you can use something like

 

Get-Cluster | select name,@{n="NumVMHostCPU"; e={(Get-VMHost-Location$_ | Measure-ObjectNumCpu).Count}}

 

That should give something like:

 

Name          NumVMHostCPU
----          ------------
myCluster0    24
myCluster1    32

 

How does that do for you?


Viewing all articles
Browse latest Browse all 230200

Trending Articles



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