I have seen a few posts regarding running a PS script through alerts actions but I still had questions.
Below is a screenshot of what I think should work.
This is the call: C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -Command "C:\scripts\ClusterServiceMonitor.ps1"
Does the script get called from the local server or does it call to the primary Solarwinds server to get the script? Does the context of this command look good?
Here is a post I found: https://thwack.solarwinds.com/t5/SAM-Discussions/Is-it-possible-to-call-a-PowerShell-script-from-the-quot-Execute/m-p/140360