Powershell Support

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.

Parents
No Data
Reply
  • yup that did work this time! awesome. Now for the question of how do you pass the servername to the bat then to the PS script? Before to pass from a Bat i had use scriptname.ps1 “Servername” and then in the powershell script it was brought in like this param ([string]$server) at the top, but uptime uses the %UPTIME_SERVER% which wont go through to Powershell based on the way ive set it up. Ideas?

Children
No Data