WinSCP and PowerShell woes

Advertisement

Burtamus
Joined:
Posts:
6
Location:
IA

WinSCP and PowerShell woes

All, I'm working from this example: https://winscp.net/eng/docs/library_powershell#example

On the $session.Open($sessionOptions) line, I get the following error:
MethodInvocationException: 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)'."
Any pointers would be appreciated

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum