Get-SCManagementGroupConnection

Gets the existing connection to a System Center Operations Manager Management Group.

Syntax

Get-SCManagementGroupConnection []
Get-SCManagementGroupConnection
   [-ComputerName] <String[]>
   [<CommonParameters>]
Get-SCManagementGroupConnection
   [-Id] <Guid[]>
   [<CommonParameters>]
Get-SCManagementGroupConnection
   [-ManagementGroupName] <String[]>
   [<CommonParameters>]

Description

The Get-SCManagementGroupConnection cmdlet gets the existing connection to a System Center Operations Manager Management Group. This command can also be executed with Get-SCOMManagementGroupConnection.

Examples

1: Obtain the status of management group connection on a specific server

PS C:\>Get-SCManagementGroupConnection -ComputerName "Server1.contoso.com"

Gets the Management Group Connection on a specific management server.

2: Obtain the status of management group connection using the name

PS C:\>Get-SCManagementGroupConnection -ManagementGroupName "SCOM_MG_Name"

Gets the Management Group Connection using the management group name.

3: Obtain the status of management group connection using the ID

PS C:\>Get-SCManagementGroupConnection -Id 5a055755-71c4-962f-e4b7-b3dc0c4fdf2b

Gets a specific discovery using its id. For more than one ID, you can separate the items with a comma.

Parameters

-ComputerName

Type:String[]
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Id

Type:Guid[]
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ManagementGroupName

Type:String[]
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False