Disconnect-PowerShellServer Cmdlet
The Disconnect-PowerShellServer cmdlet is used to release the connection previously created by Connect-PowerShellServer cmdlet.
Syntax
Disconnect-PowerShellServer [parameters]
Remarks
This cmdlet disconnects a previously created persistent connection. Pass the existing connection object to the Connection parameter to release the connection.Parameter List
The following is the full list of the parameters of the cmdlet with short descriptions. Click on the links for further details.
Connection | The existing connection. |
Connection Parameter (Disconnect-PowerShellServer Cmdlet)
The connection object to be released.
Syntax
Disconnect-PowerShellServer -Connection $connection
Remarks
This parameter specifies the connection object which will be disconnected.Default Value
null