JFLarvoire / SysToolsLib

A library of Windows and Linux system management tools
Apache License 2.0
314 stars 93 forks source link

System.IO.Pipes.Pipedirection #21

Open Beelado opened 5 years ago

Beelado commented 5 years ago

Hi,

I'm trying to use the script but after compiling and running I keep getting the following alert in the log:

2018-08-28 15:23:34 2196 NT AUTHORITY\SYSTEM VLADTEST.ps1 -Service # Control Pipe Handler thread failed: Exception calling "EndInvoke" with "1" argument(s): "Unable to find type [System.IO.Pipes.PipeDirection]: make sure that the assembly containing this type is loaded."

I have .NET 4.5.2 and I can see you're loading System and System.IO but I'm unsure why I wouldn't be able to find System.IO.Pipes.PipeDirection if should be included in SystemCore.dll.

Thanks, Vlad