Quantcast
Channel: Windows Server – Yusuf Ozturk
Viewing all articles
Browse latest Browse all 127

Hyper-V Server 2012 Host CPU monitoring with PowerShell

$
0
0
This will give you host and guest CPU usage on your Hyper-V host. 1 2 3 4 5 6 7 $ClusterNode = "Host01" While ($True) { $ChildCPU = ((Get-Counter -ComputerName $ClusterNode -Counter "\Hyper-V Hypervisor Logical Processor(_Total)\% Total Run Time" -MaxSamples 3).CounterSamples | Measure-Object CookedValue -Max).Maximum $ParentCPU = ((Get-Counter -ComputerName $ClusterNode -Counter "\Processor Information(_Total)\% Processor Time" [...]

Viewing all articles
Browse latest Browse all 127

Trending Articles