Cmdlets for SFTP

Build 24.0.9060

Connect-SFTP Cmdlet

Parameters   Output Objects  

Opens a new connection to SFTP.

Syntax

$SFTPConnection = Connect-SFTP [parameters]

Remarks

The Connect-SFTP cmdlet is used to create a persistent connection object to be used with related cmdlets. When executing the cmdlet a connection object is returned. Pass this object to the Connection parameter of related cmdlets to use the newly created connection object. To close the connection, call Disconnect-SFTP.

See Establishing a Connection for common connection parameters and more information.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060