WinSCP and PowerShell woes
All, I'm working from this example: https://winscp.net/eng/docs/library_powershell#example
On the
On the
$session.Open($sessionOptions)
line, I get the following error:
Any pointers would be appreciatedMethodInvocationException: Exception calling "Open" with "1" argument(s): "Method not found: 'Void System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef, System.Security.AccessControl.EventWaitHandleSecurity)'."