New-SCManagementGroupConnection
Creates a new connection to a System Center Operations Manager Management Group.
Syntax
Default (Default)
New-SCManagementGroupConnection
[[-ComputerName] <String[]>]
[[-Credential] <PSCredential>]
[-PassThru]
[<CommonParameters>]
Description
The New-SCManagementGroupConnection cmdlet creates a new connection to a System Center Operations Manager Management Group. This command can also be executed with New-SCOMManagementGroupConnection.
Examples
1: Create a new management group connection using a specific computer name
PS C:\>New-SCManagementGroupConnection -ComputerName "MS1.contoso.com" -Credential (Get-Credential)
Creates a new System Center Operations Manager management group connection to a particular management server.
Parameters
-ComputerName
The New-SCManagementGroupConnection cmdlet creates a new connection to a System Center Operations Manager Management Group. This command can also be executed with New-SCOMManagementGroupConnection.
Parameter properties
| Type: | String[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 1 |
| Mandatory: | False |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Credential
The New-SCManagementGroupConnection cmdlet creates a new connection to a System Center Operations Manager Management Group. This command can also be executed with New-SCOMManagementGroupConnection.
Parameter properties
| Type: | PSCredential |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 2 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-PassThru
The New-SCManagementGroupConnection cmdlet creates a new connection to a System Center Operations Manager Management Group. This command can also be executed with New-SCOMManagementGroupConnection.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| 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.