That did it! Thank you so much. This makes my life much easier. :D
- DakotaPaul
Add-Type is supported since PowerShell 2.0.
[Reflection.Assembly]::LoadFrom("WinSCPnet.dll") | Out-Null
try-catch block with the error:
The term 'Add-Type' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.