Get-MonitoringClassProperty
Get-MonitoringClassProperty
Gets the properties of a specified monitoring class.
Syntax
Parameter Set: FromMonitoringClass
Get-MonitoringClassProperty [-MonitoringClass] <MonitoringClass> [ <CommonParameters>]
Detailed Description
Gets the properties of a specified monitoring class.
Parameters
-MonitoringClass<MonitoringClass>
Specifies the monitoring class for which to retrieve properties.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
Notes
- For more information, type "Get-Help Get-MonitoringClassProperty -detailed". For technical information, type "Get-Help Get-MonitoringClassProperty -full".
When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".
Examples
-------------- EXAMPLE 1 --------------
This command uses Get-MonitoringClass to retrieve all monitoring classes and pipelines them to Where-Object. The Where-Object cmdlet is used to filter the monitoring classes by name, selecting one named "computer". Last, if there was a monitoring class named "computer", it is pipelined to Get-MonitoringClassProperty which returns its properties.
C:\PS>get-monitoringclass | where-object {$_.Name -match "computer"} |
get-monitoringclassproperty