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

Resolve-SCOMAlert

Updated: January 26, 2014

Applies To: System Center 2012 R2 Operations Manager

Resolve-SCOMAlert

Resolves an alert.

Syntax

Parameter Set: FromAlertDefault
Resolve-SCOMAlert [[-Comment] <String> ] [[-CustomField1] <String> ] [[-CustomField2] <String> ] [[-CustomField3] <String> ] [[-CustomField4] <String> ] [[-CustomField5] <String> ] [[-CustomField6] <String> ] [[-CustomField7] <String> ] [[-CustomField8] <String> ] [[-CustomField9] <String> ] [[-CustomField10] <String> ] [[-Owner] <String> ] [[-TicketId] <String> ] -Alert <MonitoringAlert[]> [-Connector <MonitoringConnector> ] [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Resolve-SCOMAlert cmdlet resolves an alert in System Center 2012 – Operations Manager. The cmdlet sets the ResolutionState property of an alert to 255 (Closed). You can also resolve an alert by using the Set-SCOMAlert cmdlet and setting the ResolutionState parameter to 255 (Closed).

Parameters

-Alert<MonitoringAlert[]>

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


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Comment<String>

Specifies a comment to add to the resolved alert.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Connector<MonitoringConnector>

Specifies a MonitoringConnector object. This parameter specifies the connector that generated the connection string. To obtain a MonitoringConnector object, use the Get-SCOMConnector cmdlet.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-CustomField1<String>

Specifies information to add to the CustomField1 property of the alert.


Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-CustomField10<String>

Specifies information to add to the CustomField10 property of the alert.


Aliases

none

Required?

false

Position?

11

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-CustomField2<String>

Specifies information to add to the CustomField2 property of the alert.


Aliases

none

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-CustomField3<String>

Specifies information to add to the CustomField3 property of the alert.


Aliases

none

Required?

false

Position?

4

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-CustomField4<String>

Specifies information to add to the CustomField4 property of the alert.


Aliases

none

Required?

false

Position?

5

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-CustomField5<String>

Specifies information to add to the CustomField5 property of the alert.


Aliases

none

Required?

false

Position?

6

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-CustomField6<String>

Specifies information to add to the CustomField6 property of the alert.


Aliases

none

Required?

false

Position?

7

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-CustomField7<String>

Specifies information to add to the CustomField7 property of the alert.


Aliases

none

Required?

false

Position?

8

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-CustomField8<String>

Specifies information to add to the CustomField8 property of the alert.


Aliases

none

Required?

false

Position?

9

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-CustomField9<String>

Specifies information to add to the CustomField9 property of the alert.


Aliases

none

Required?

false

Position?

10

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Owner<String>

Specifies the user name of the owner of the alert, in the format Domain\Account.


Aliases

none

Required?

false

Position?

13

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-PassThru

Indicates that the cmdlet creates or modifies an object that a command can use in the pipeline. By default, this cmdlet does not generate any output.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-TicketId<String>

Specifies the ticket ID of the alert.


Aliases

none

Required?

false

Position?

14

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

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: Resolve error alerts by using the alert severity

This command resolves all Error alerts and adds a comment to the resolved alerts.


PS C:\> Get-SCOMAlert -Severity 2 | Resolve-SCOMAlert -Comment "All alerts are resolved."

Related topics

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