I need help to get this script converted to Powershell or VBS script, I have winscp that connects to a remote directory and synchronize files. I don't have to even synchronize but I just want to establish the connection, below is the script.
I downloaded the winscpnet.dll as per the WinSCP site , this will work with powershell. Below is the batchfile that I want to convert to powershell.
option batch abort
option confirm off
-hostkey="ssh-rsa 2048 d5:71:6a:0d:60:99:23:c4:63
synchronize both C:\Temp\Target /home/sftpuser04/Source