This script uses powershell scripting to find a file and then move it to SFTP server and then sends mail alerts
Download WinSCP .NET assembly library (https://winscp.net/eng/downloads.php) The latest package as of now is WinSCP-5.19.5-Automation.zip Extract the .zip archive along your script