Expand Minimize
This topic has not yet been rated - Rate this topic

Set-SCOMErrorReportingSetting

Updated: September 10, 2012

Applies To: System Center 2012 - Operations Manager, System Center 2012 SP1 - Operations Manager

Set-SCOMErrorReportingSetting

Sets the error reporting setting for the management group.

Syntax

Parameter Set: OptOut
Set-SCOMErrorReportingSetting [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-PassThru] [-SCSession <Connection[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: NeverSend
Set-SCOMErrorReportingSetting -DoNotSend [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-PassThru] [-SCSession <Connection[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: Prompt
Set-SCOMErrorReportingSetting -PromptBeforeSending [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-PassThru] [-SCSession <Connection[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SendAutomatically
Set-SCOMErrorReportingSetting -AutomaticallySend [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-PassThru] [-SCSession <Connection[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Set-SCOMErrorReportingSetting cmdlet sets the error reporting setting for the management group.

Error reports are not sent when the DoNotSend parameter is used. Error reports are always sent when the AutomaticallySend parameter is used. Error reports are sent after they have been approved when the PromptBeforeSending parameter is used.

Parameters

-AutomaticallySend

Indicates error reports will automatically be sent without review.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ComputerName<String[]>

Specifies a computer to establish a connection with. The computer must be running the System Center Data Access service. The default is the computer for the current management group connection.

Valid formats include a NetBIOS name, an IP address, or a fully qualified domain name. 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 user account under which the management group connection will run. It must have access to the server that is specified in the ComputerName parameter if specified. The default is the current user.

Enter a PSCredential object, such as one that is returned by the Get-Credential cmdlet.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-DoNotSend

Indicates error reports should not be sent.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PassThru

If specified, the setting will be returned to the pipeline.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PromptBeforeSending

Indicates that error reports need to be approved before sending.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SCSession<Connection[]>

Specifies a connection to a management server. The default is the current management group connection.

Enter a Management group connection object, such as one returned by the Get-SCManagementGroupConnection cmdlet.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

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.

Examples

-------------------------- EXAMPLE 1 --------------------------

This command sets the error reporting setting for the management group to always send error reports.


PS C:\>Set-SCOMErrorReportingSetting -AutomaticallySend

-------------------------- EXAMPLE 2 --------------------------

This command sets the error reporting setting for the management group to never send error reports.


PS C:\>Set-SCOMErrorReportingSetting -DoNotSend

-------------------------- EXAMPLE 3 --------------------------

This command sets the error reporting setting for the management group to only send error reports after they have been approved.


PS C:\>Set-SCOMErrorReportingSetting -PromptBeforeSending
 
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.