Re: In scripting you should not rely on saved sites, use this command instead
We cannot hard code passwords into our powershell scripts (that's a security risk).
And why do you think that storing them to WinSCP site is more secure?
Please read this:
https://winscp.net/eng/docs/security_credentials
https://winscp.net/eng/docs/guide_protecting_credentials_for_automation