Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
hardmod
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.
"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.