Start-WinSCPConsole


Synopsis

Opens a new instance of the WinSCP CLI.


Syntax

Start-WinSCPConsole [<CommonParameters>]

Description

Opens a new instance of the WinSCP Command Line Interface where raw commands can be executed.


Parameters

CommonParameters <CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable.


Inputs

System.Void

  • Specifies a return value type for a method that does not return a value.

Outputs

System.Void

  • Specifies a return value type for a method that does not return a value.

Notes

If the WinSCPSession is piped into this command, the connection will be closed and the object will be disposed upon completion of the command.


Example 1

PS C:\> Start-WinSCPConsole

Fork me on GitHub