Share via


Set-SCManagementGroupConnection

Sets the specified connection to a System Center Operations Manager Management Group as the active connection.

Syntax

Default (Default)

Set-SCManagementGroupConnection
    [-Connection] <Connection>
    [<CommonParameters>]

Description

The Set-SCManagementGroupConnection cmdlet sets the specified connection to a System Center Operations Manager Management Group as the active connection. This command can also be executed with Set-SCOMManagementGroupConnection.

Examples

1: Set an active management group connection

PS C:\>Get-SCManagementGroupConnection | Set-SCManagementGroupConnection

The Set-SCManagementGroupConnection cmdlet sets the specified connection to a System Center Operations Manager Management Group as the active connection.

Parameters

-Connection

The Set-SCManagementGroupConnection cmdlet sets the specified connection to a System Center Operations Manager Management Group as the active connection. This command can also be executed with Set-SCOMManagementGroupConnection.

Parameter properties

Type:Connection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
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.