NAME
Set-DcsDefaultConnection
SYNOPSIS
Designates a connection to be the default connection.
SYNTAX
Set-DcsDefaultConnection -Connection <String> [ -PipelineVariable <String> ]
DESCRIPTION
Designates a connection to be the default connection. A connection name is required for all cmdlets and if not specified, the default connection will be used.
PARAMETERS
- -Connection<String>
- Alias of the connection to the server group.
-
- Required: true
- Position: 1
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -PipelineVariable<String>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
INPUTS
OUTPUTS
NOTES
Also see Get-DcsDefaultConnection, Get-DcsConnection.
EXAMPLES
-------------- Example 1 Sets default connection --------------
Set-DcsDefaultConnection -Connection SSV1Connect
The default connection for the server group is set to the connection named "SSV1Connect".