i`am using NSClient on a lot of Servers. We use PowerShell Scripts on 2007 Exchange Servers to check several Things.
On a Windows 2003 Server with Powershell 1.0, Exchange 2007 and NSClient++ 0.3.3.20 all is working fine. But when i would use
a recent NSClient Version like 0.3.6 the Script fails.
I have two Symtoms:
1. The Powershell.exe does not close (when i Call my Script with an Batch File)
2. The Message :"File xyz.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see “get-help about_signing” for more details." (when i Call the Script directly with "cmd /c echo c:\scripts\xyz.ps1 $ARG1$ $ARG2$ $ARG3$ | powershell.exe -command -")