Set-SCOpsMgrConnection

Updates the Operations Manager connection settings.

Description

The Set-SCOpsMgrConnection cmdlet updates the System Center Operations Manager connection. Settings that can be changed include whether the connection is enabled or disabled, and whether maintenance mode integration is enabled for the connection.

For more information about Set-SCOpsMgrConnection, type: "Get-Help Set-SCOpsMgrConnection -online".

Parameters

EnableMaintenanceModeIntegration

Required? false
Accept Pipeline Input? false
Position? named
Indicates whether maintenance mode integration is enabled for this connection.

EnableOpsMgrConnection

Required? false
Accept Pipeline Input? false
Position? named
Indicates whether the connection to the Operations Manager management server is enabled.

EnablePRO

Required? false
Accept Pipeline Input? false
Position? named
Indicates whether PRO is enabled for this connection.

JobVariable

Required? false
Accept Pipeline Input? false
Position? named
Specifies that job progress is tracked and stored in the variable named by this parameter. 

PROTipID

Required? false
Accept Pipeline Input? false
Position? named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

RunAsynchronously

Required? false
Accept Pipeline Input? false
Position? named
Indicates that the job runs asynchronously so that control returns to the command shell immediately. 

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Disable the Operations Manager connection.
PS C:\> Set-SCOpsMgrConnection -EnableOpsMgrConnection $False
This command disables the Operations Manager connection by setting the EnableOpsMgrConnection to False.
2: Enable the Operations Manager connection.
PS C:\> Set-SCOpsMgrConnection -EnableOpsMgrConnection $True
This command enables the Operations Manager connection by setting the EnableOpsMgrConnection variable to True.

See Also