Get-ResultantRuleOverride
Get-ResultantRuleOverride
Syntax
Parameter Set: FromMonitoringObjectProviderPath Get-ResultantRuleOverride [-Rule] <MonitoringRule> [[-Path] <String[]> ] [ <CommonParameters>] Parameter Set: FromMonitoringClass Get-ResultantRuleOverride [-MonitoringClass] <MonitoringClass> [-Rule] <MonitoringRule> [ <CommonParameters>] Parameter Set: FromMonitoringObject Get-ResultantRuleOverride [-MonitoringObject] <MonitoringObject> [-Rule] <MonitoringRule> [ <CommonParameters>]
Detailed Description
Gets resultant rule overrides.
Parameters
-MonitoringClass<MonitoringClass>
Specifies the monitoring class for which to retrieve resultant rule overrides. You can use Get-MonitoringClass to retrieve an object to supply as the value of this parameter.
Aliases | none |
Required? | true |
Position? | 2 |
Default Value | none |
Accept Pipeline Input? | true (ByValue) |
Accept Wildcard Characters? | false |
-MonitoringObject<MonitoringObject>
Specifies the monitoring object for which to retrieve resultant rule overrides. You can use Get-MonitoringObject to retrieve an object to supply as the value of this parameter.
Aliases | none |
Required? | true |
Position? | 1 |
Default Value | none |
Accept Pipeline Input? | true (ByValue) |
Accept Wildcard Characters? | false |
-Path<String[]>
Specifies the paths to the monitoring objects for which to retrieve resultant rule overrides. To specify multiple values, separate them by using commas.
Aliases | none |
Required? | false |
Position? | 4 |
Default Value | none |
Accept Pipeline Input? | true (ByValue) |
Accept Wildcard Characters? | false |
-Rule<MonitoringRule>
Specifies the monitoring rule for which to retrieve overrides. You can use Get-Rule to retrieve objects to supply as the value of this parameter.
Aliases | none |
Required? | true |
Position? | 3 |
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-ResultantRuleOverride -detailed". For technical information, type "Get-Help Get-ResultantRuleOverride -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-Rule to retrieve all rules. It passes the results along the pipeline to Get-ResultantRuleOverride which displays all of the overrides for all of the rules.
C:\PS>get-rule | get-resultantruleoverride
