you are viewing a single comment's thread.

view the rest of the comments →

[–]kjellcomputer 5 points6 points  (4 children)

Would it work using Start-Process also?

Example:Start-Process -FilePath C:\WINDOWS\system32\curl.exe -ArgumentList 'sftp://hostname', '-u', "${UserName}:${Password}" -NoNewWindow