Difference between revisions of "Top"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
(Get-Counter '\Process(*)\% Processor Time').CounterSamples | Where-Object {$_.CookedValue -gt 5} | Sort-Object -Property cookedvalue -Descending | (Get-Counter '\Process(*)\% Processor Time').CounterSamples | Where-Object {$_.CookedValue -gt 5} | Sort-Object -Property cookedvalue -Descending | ||
``` | ``` | ||
+ | |||
+ | |||
+ | # Other | ||
+ | - https://www.cbtnuggets.com/blog/certifications/microsoft/how-to-find-performance-counters-with-powershell |
Revision as of 20:00, 18 August 2022
Powershell like commands
(Get-Counter '\Process(*)\% Processor Time').CounterSamples | Where-Object {$_.CookedValue -gt 5} | Sort-Object -Property cookedvalue -Descending