If you can connect using the GUI of WinSCP (Version 6.5.4), you can go to the tab displaying the connection, right click over it, then go to 'Generate session URL/code' option, in the opened window go to '.Net assembly code' tab, and select Language: PowerShell; you will see the configuration for that particular connection.
The option is described in the official documentation (link)