The Disconnect-SFTP cmdlet is used to release the connection previously created by Connect-SFTP cmdlet.
RemarksThis cmdlet disconnects a previously created persistent connection. Pass the existing connection object to the Connection parameter to release the connection.
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.|
|LogFile||The location of a file to which debug information is written.|