Currently using WinSCP 5.5.4 and I'm automating our SFTP transfer processes using Powershell. So far, everything is working well so far, but I do have one question.
In the WinSCP GUI we have over a dozen saved sites that are used for a variety of transfer operations. From a command-line, we can use these saved sites with this syntax
winscp.exe [mysession] /synchronize [local_directory] [remote_directory] [/defaults]
In all the Powershell examples I've seen, the HostName, UserName Password and Host Fingerprint are hardcoded directly into the script. Is there anyway for me to refer to our currently saved sites from Powershell?