search
Categories
Archive
Blogroll

Badges

Microsoft PowerShell MVP
MCSE
Sponsors

VirtualMetric
Cozumpark Bilisim Portali
Getting total CPU and Memory usage of UserRole in SCVMM 2012 SP1
Posted in Virtual Machine Manager, Windows Powershell | No Comment | 802 views | 26/07/2013 11:59

You can get total CPU and memory usage of a user role with following command:

1
(Get-VM | Where UserRole -like "MyUserRole" | Measure-Object -Property CPUCount,Memory -Sum)

That will give you total count of cpu and memory.



Leave a Reply