The Get-SCOMOverride cmdlet retrieves a list of overrides, or a resulting set of overrides.
In System Center - Operations Manager, overrides represent changes to parameters in monitors.
Examples
Example 1: Retrieve all overrides for a set of rules
This example gets all monitoring rules that contain the word health in their name, and then returns the overrides for the rule objects.
Using the ErrorAction parameter with the SilentlyContinue value allows the command to continue if it cannot find an override for a specific monitoring rule, and will not display an error.
Example 2: Retrieve all overrides for a specific class
This command gets the override for monitors that contain the word health in their name and are in a class with a display name that contains the word computer.
Example 3: Retrieve all overrides for a set of discovery objects
This command gets all discoveries that contain system in their name, and then returns the overrides for those discovery objects.
Using the ErrorAction parameter with the SilentlyContinue value allows the command to continue if it cannot find an override for a specific discovery, and will not display an error.
Parameters
-Class
Specifies an array of class objects.
For more information, type Get-Help Get-SCOMClass.
Parameter properties
Type:
ManagementPackClass[]
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
FromTask
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackDiscovery
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackMonitor
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackRecovery
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackRule
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackDiagnostic
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-ComputerName
Specifies an array of names of computers.
The cmdlet establishes temporary connections with management groups for these computers.
You can use NetBIOS names, IP addresses, or fully qualified domain names (FQDNs).
To specify the local computer, type the computer name, localhost, or a dot (.).
Parameter properties
Type:
String[]
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Credential
Specifies a PSCredential object for the management group connection.
To obtain a PSCredential object, use the Get-Credential cmdlet.
For more information, type "Get-Help Get-Credential".
Parameter properties
Type:
PSCredential
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Diagnostic
Specifies an array of diagnostic objects.
For more information about how to get a diagnostic object, type "Get-Help Get-SCOMDiagnostic".
Parameter properties
Type:
ManagementPackDiagnostic[]
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
FromManagementPackDiagnostic
Position:
1
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Discovery
Specifies an array of discovery objects.
For more information about how to get a discovery object, type "Get-Help Get-SCOMDiscovery".
Parameter properties
Type:
ManagementPackDiscovery[]
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
FromManagementPackDiscovery
Position:
1
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Group
Specifies an array of group objects.
For more information about how to get a group object, type "Get-Help Get-SCOMGroup".
Parameter properties
Type:
EnterpriseManagementObject[]
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
FromTask
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackDiscovery
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackMonitor
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackRecovery
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackRule
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackDiagnostic
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Instance
Specifies an array of class instance objects.
This parameter also accepts group objects.
For more information about how to get a class instance object, type "Get-Help Get-SCOMClassInstance".
Parameter properties
Type:
EnterpriseManagementObject[]
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
FromTask
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackDiscovery
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackMonitor
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackRecovery
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackRule
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
FromManagementPackDiagnostic
Position:
Named
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Monitor
Specifies an array of monitor objects.
For more information about how to get a monitor object, type "Get-Help Get-SCOMMonitor".
Parameter properties
Type:
ManagementPackMonitor[]
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
FromManagementPackMonitor
Position:
1
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Recovery
Specifies an array of recovery objects.
For more information about how to get a recovery object, type "Get-Help Get-SCOMRecovery".
Parameter properties
Type:
ManagementPackRecovery[]
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
FromManagementPackRecovery
Position:
1
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Rule
Specifies an array of monitoring rule objects.
For more information about how to get a monitoring rule object, type "Get-Help Get-SCOMRule".
Parameter properties
Type:
ManagementPackRule[]
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
FromManagementPackRule
Position:
1
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
-SCSession
Specifies an array of Connection objects.
To obtain a Connection object, use the Get-SCManagementGroupConnection cmdlet.
Parameter properties
Type:
Connection[]
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Task
Specifies an array of task objects.
For more information about how to get a task object, type "Get-Help Get-SCOMTask".
Parameter properties
Type:
ManagementPackTask[]
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
FromTask
Position:
1
Mandatory:
False
Value from pipeline:
True
Value from pipeline by property name:
False
Value from remaining arguments:
False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.