While using a WINSCP remote execution powershell script, is there an option to assign the result of command executed through 'session.ExecuteCommand' to another variable?
The above command works as expected.
In order to assign the result of
into a variable(say
), is there an option using WINSCP powershell?
The following command line didn't work.
The error message was 'CommandExecutionResult' is not a recognized command (within Powershell).