Build precise queries to find exactly what you need
Press ESC to close
Remeber to define the check like this, otherwise you will not get correct Exit code to nagios (critical show always as Warning).
cmd /c echo scriptsNagiosMonitoring_ExchangeQueueHealth.ps1; exit($lastexitcode) | PowerShell.exe -Command –