There doesnt appear to be any powershell suport. I see support for scripts like VBS via batch files, but direct support of powershell would be perfect. Even indirect support via a batch file calling a powershell script would also work.
I have tested this out using a batch file calling a powershell script and the service test just reads Testing… please wait.
Powershell is so much easier to script and would make custom monitors so much easier for windows servers, especiall custom WMI scripts.
I believe you are calling the script through a Custom service monitor, correct? It may be better to use Custom with Retained Data or, even better, creating a Plugin monitor because these accept multiple values to be returned and won't collect the trailing new line character into the previous line.
Powered by IDERA