NAME
Disconnect-DcsServer
SYNOPSIS
Disconnects from the server in a server group connection.
SYNTAX
Disconnect-DcsServer [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Disconnects from the server in a server group connection. The connection will be removed. If the connection being removed is the default connection and other connections exist, the connection created before this connection will be designated as the new default connection.
PARAMETERS
- -Connection<String>
- Alias of the connection to the server group. If not specified, the default connection will be used.
-
- Required: false
- Position: 1
- Default value:
- Accept pipeline input: true (ByValue)
- Accept wildcard characters: false
-
- -PipelineVariable<String>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
INPUTS
string : Alias that identifies the connection.
OUTPUTS
string : Message that the action has been successfully completed.
NOTES
Also see Get-DcsDefaultConnection, Set-DcsDefaultConnection, Get-DcsConnection, Connect-DcsServer.
EXAMPLES
Disconnect-DcsServer -Connection SSV2Connect
Disconnects the connection named "SSV2Connect". This connection can no longer be used in cmdlets until or unless the connection is re-established.
Disconnecting SSV2Connect... Disconnected successfully