Random Project

Great – Just a little thing

Script works great, I just had to change the NSClient++ Config to

“alias_check_queue =cmd /c echo C:scriptsNagiosNagiosMonitoring_Exchange-queue.ps1 $ARG1$ $ARG2$ $ARG3$; exit($lastexitcode) | powershell.exe -noprofile -nologo -command -”

Otherwise Windows will try to handle it as exe.