Share via


New-DefaultManagementGroupConnection

Creates a default management group connection.

Syntax

Default (Default)

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.

Parameters

-interactive

Specifies whether the connection is interactive.

Parameter properties

Type:Boolean
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

-managementServerName

Specifies the name of the management server for the connection.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-persistConnection

Specifies whether the connection persists.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
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.