New-DefaultManagementGroupConnection

Creates a default management group connection.

Syntax

New-DefaultManagementGroupConnection
   [[-managementServerName] <String>]
   [[-persistConnection] <Boolean>]
   [[-interactive] <Boolean>]
   [<CommonParameters>]

Description

The New-DefaultManagementGroupConnection cmdlet creates a default management group connection.

Examples

Example 1: Create a connection

PS C:\>New-DefaultManagementGroupConnection -managementServerName "server01.contoso.com"

This command creates a default management group connection.

Optional Parameters

-interactive

Specifies whether the connection is interactive.

Type:Boolean
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-managementServerName

Specifies the name of the management server for the connection.

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-persistConnection

Specifies whether the connection persists.

Type:Boolean
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False