Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#13 Powershell Error

open
nobody
None
5
2013-01-10
2009-06-25
Anonymous
No

Hello,

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 -")

Mfg
Florian

Discussion