search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Getting Total CPU Count of VMs on SCVMM 2012 R2 via PowerShell
Posted in Virtual Machine Manager, Windows Powershell | 2 Comments | 3,773 views | 31/03/2014 16:45

You can use following script to get VM CPU Counts on SCVMM 2012 R2:

1
2
3
4
5
6
7
8
9
PS C:\Users\yusufozt\Desktop> $Results = Get-VM | Measure-Object -Property CPUCount -Sum
PS C:\Users\yusufozt\Desktop> $Results
 
Count    : 108
Average  :
Sum      : 292
Maximum  :
Minimum  :
Property : CPUCount

You can get total count by using $Results.Sum value.


Comments (2)

NeWay Technologies – Weekly Newsletter #89 – April 3, 2014 | NeWay

April 6th, 2014
08:59:24

[…] Getting Total CPU Count of VMs on SCVMM 2012 R2 via PowerShell – […]


NeWay Technologies – Weekly Newsletter #89 – April 4, 2014 | NeWay

April 6th, 2014
09:05:40

[…] Getting Total CPU Count of VMs on SCVMM 2012 R2 via PowerShell – […]



Leave a Reply