New-SCManagementGroupConnection
创建与 System Center Operations Manager 管理组的新连接。
语法
New-SCManagementGroupConnection
[[-ComputerName] <String[]>]
[[-Credential] <PSCredential>]
[-PassThru]
[<CommonParameters>]
说明
New-SCManagementGroupConnection cmdlet 创建与 System Center Operations Manager 管理组的新连接。 也可以使用 执行 New-SCOMManagementGroupConnection
此命令。
示例
1:使用特定计算机名称创建新的管理组连接
PS C:\>New-SCManagementGroupConnection -ComputerName "MS1.contoso.com" -Credential (Get-Credential)
创建与特定管理服务器的新 System Center Operations Manager 管理组连接。
参数
-ComputerName
Type: | String[] |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Credential
Type: | PSCredential |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |