Gets the performance counters for a category.
Get-PerformanceCounter [-CategoryName] <String> [<CommonParameters>]
Returns PerformanceCounterCategory
objects for the given category name. If not counters exist for the category exits, an empty array is returned.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
CategoryName | String | The category's name whose performance counters will be returned. |
true | false |
Get-PerformanceCounter -CategoryName Processor
Gets all the Processor
performance counters.