Tests if a performance counter category exists.
Test-PerformanceCounterCategory [-CategoryName] <String> [<CommonParameters>]
Returns True if category CategoryName exists. False if it does not exist.
| Name | Type | Description | Required? | Pipeline Input | Default Value |
|---|---|---|---|---|---|
| CategoryName | String | The name of the cateogry whose existence to check. |
true | false |
Test-PerformanceCounterCategory -CategoryName 'ToyotaCamry'
Returns True if the ToyotaCamry performance counter category exists. False if the category doesn't exist.