Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Get-SCOMOverride

Updated: January 26, 2014

Applies To: System Center 2012 R2 Operations Manager

Get-SCOMOverride

Retrieves a list of overrides or a resulting set of overrides.

Syntax

Parameter Set: Empty
Get-SCOMOverride [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-SCSession <Connection[]> ] [ <CommonParameters>]

Parameter Set: FromManagementPackDiagnostic
Get-SCOMOverride [[-Diagnostic] <ManagementPackDiagnostic[]> ] [-Class <ManagementPackClass[]> ] [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-Group <EnterpriseManagementObject[]> ] [-Instance <EnterpriseManagementObject[]> ] [-SCSession <Connection[]> ] [ <CommonParameters>]

Parameter Set: FromManagementPackDiscovery
Get-SCOMOverride [[-Discovery] <ManagementPackDiscovery[]> ] [-Class <ManagementPackClass[]> ] [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-Group <EnterpriseManagementObject[]> ] [-Instance <EnterpriseManagementObject[]> ] [-SCSession <Connection[]> ] [ <CommonParameters>]

Parameter Set: FromManagementPackMonitor
Get-SCOMOverride [[-Monitor] <ManagementPackMonitor[]> ] [-Class <ManagementPackClass[]> ] [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-Group <EnterpriseManagementObject[]> ] [-Instance <EnterpriseManagementObject[]> ] [-SCSession <Connection[]> ] [ <CommonParameters>]

Parameter Set: FromManagementPackRecovery
Get-SCOMOverride [[-Recovery] <ManagementPackRecovery[]> ] [-Class <ManagementPackClass[]> ] [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-Group <EnterpriseManagementObject[]> ] [-Instance <EnterpriseManagementObject[]> ] [-SCSession <Connection[]> ] [ <CommonParameters>]

Parameter Set: FromManagementPackRule
Get-SCOMOverride [[-Rule] <ManagementPackRule[]> ] [-Class <ManagementPackClass[]> ] [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-Group <EnterpriseManagementObject[]> ] [-Instance <EnterpriseManagementObject[]> ] [-SCSession <Connection[]> ] [ <CommonParameters>]

Parameter Set: FromTask
Get-SCOMOverride [[-Task] <ManagementPackTask[]> ] [-Class <ManagementPackClass[]> ] [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-Group <EnterpriseManagementObject[]> ] [-Instance <EnterpriseManagementObject[]> ] [-SCSession <Connection[]> ] [ <CommonParameters>]




Detailed Description

The Get-SCOMOverride cmdlet retrieves a list of overrides, or a resulting set of overrides. In System Center 2012 – Operations Manager, overrides represent changes to parameters in monitors.

Parameters

-Class<ManagementPackClass[]>

Specifies an array of class objects. For more information, type Get-Help Get-SCOMClass.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-ComputerName<String[]>

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 (.).


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Credential<PSCredential>

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".


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Diagnostic<ManagementPackDiagnostic[]>

Specifies an array of diagnostic objects. For more information about how to get a diagnostic object, type "Get-Help Get-SCOMDiagnostic".


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Discovery<ManagementPackDiscovery[]>

Specifies an array of discovery objects. For more information about how to get a discovery object, type "Get-Help Get-SCOMDiscovery".


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Group<EnterpriseManagementObject[]>

Specifies an array of group objects. For more information about how to get a group object, type "Get-Help Get-SCOMGroup".


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Instance<EnterpriseManagementObject[]>

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".


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Monitor<ManagementPackMonitor[]>

Specifies an array of monitor objects. For more information about how to get a monitor object, type "Get-Help Get-SCOMMonitor".


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Recovery<ManagementPackRecovery[]>

Specifies an array of recovery objects. For more information about how to get a recovery object, type "Get-Help Get-SCOMRecovery".


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Rule<ManagementPackRule[]>

Specifies an array of monitoring rule objects. For more information about how to get a monitoring rule object, type "Get-Help Get-SCOMRule".


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-SCSession<Connection[]>

Specifies an array of Connection objects. To obtain a Connection object, use the Get-SCManagementGroupConnection cmdlet.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Task<ManagementPackTask[]>

Specifies an array of task objects. For more information about how to get a task object, type "Get-Help Get-SCOMTask".


Aliases

none

Required?

false

Position?

1

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.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

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.


PS C:\> Get-SCOMRule -Name "*health*" | Get-SCOMOverride -ErrorAction SilentlyContinue

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.


PS C:\> Get-SCOMOverride -Monitor (Get-SCOMMonitor -Name "*health*") -Class (Get-SCOMClass -DisplayName "*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.


PS C:\> Get-SCOMDiscovery -Name "*system*" | Get-SCOMOverride -ErrorAction SilentlyContinue

Related topics


Get-SCOMClass

Get-SCOMClassInstance

Get-SCOMDiscovery

Get-SCOMGroup

Get-SCOMDiagnostic

Get-SCOMMonitor

Get-SCOMRecovery

Get-SCOMRule

Get-SCOMTask

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.