Random Project

Excellent script

Few things I had to do to make the script work:
1. Set-ExecutionPolicy Unrestricted
2. check_exchange_mailqueue=cmd /c echo scriptsNagiosMonitoring_ExchangeQueueHealth.ps1; exit($lastexitcode) | PowerShell.exe -ExecutionPolicy Bypass -Command –

Without the -ExecutinPolicy Bypass, I got an AuthorizationManager error.