CommandComponent - Execute

Hi,

I am trying to use the CommandCoponent - Execute in my process step, I could successfully trigger the command line script. I want to capture the StdErr and StdOut.

The parameters that I gave are

CMDLine = "C:\Windows\System32\WindowsPowerShell\v1.0>powershell.exe "D:\WorkingFolder\ShellScript\PSFTP\Untitled3.ps1"
I ran the process and seeing the below StdOut in jobqueue as below:
StdOut = Error: Exception calling "Open" with "1" argument(s): "The winscp.exe executable was not found at location of the assembly WinSCPnet (D:\WorkingFolder\Dll), nor in an installation path. You may use Session.ExecutablePath property to explicitly set path to winscp.exe."
after fixing the issue the below message 
StdOut = Download of /spiiq/delta.csv succeeded
I am very new to this, please help me with the sample code template, how to capture the errors/success so that I can proceed to the next step.
Appriciate your help.
Padma