I am aware that there is a similar question asked previously but the solutions primarily focus on using WinSCP. I'm fairly new to SFTP and PowerShell as well, and I need help downloading files from an SFTP server onto my application server.
I believe that the Posh-SSH module can help with establishing an SFTP connection, but most code I have seen until now involves uploading files onto the SFTP server, not downloading from... would appreciate any advice!