Get-SCManagementGroupConnection
Gets the existing connection to a System Center Operations Manager Management Group.
Syntax
Empty (Default)
Get-SCManagementGroupConnection
[<CommonParameters>]
FromComputerNames
Get-SCManagementGroupConnection
[-ComputerName] <String[]>
[<CommonParameters>]
FromInstanceId
Get-SCManagementGroupConnection
[-Id] <Guid[]>
[<CommonParameters>]
FromManagementGroupName
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
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.
Parameter properties
| Type: | String[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
FromComputerNames
| Position: | 1 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Id
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.
Parameter properties
| Type: | Guid[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
FromInstanceId
| Position: | 1 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-ManagementGroupName
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.
Parameter properties
| Type: | String[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
FromManagementGroupName
| Position: | 1 |
| Mandatory: | True |
| Value from pipeline: | False |
| 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.