powershell 7.0.1 and winscp 5.17.6
The generator only offers a commandline option ?
Strange because I find a lot of posts with vanilla powershell code (that resembles vb.net/c#).
If I use that vanilla code, at $session.Open($sessionOptions) vscode throws :
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)'."
I researched this, I fed $session with an executablepath as well as a debuglog path but to no avail.
thx for any assistance.
Strange because I find a lot of posts with vanilla powershell code (that resembles vb.net/c#).
If I use that vanilla code, at $session.Open($sessionOptions) vscode throws :
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)'."
I researched this, I fed $session with an executablepath as well as a debuglog path but to no avail.
thx for any assistance.