Sometimes rebooting is the only way for fast service recovery. This script will use installed agent to send request for reboot.
You can use below parameters for Alert Trigger Action. The best way would be to use Execution Escalation to create a bit of delay (such as 30 minutes).
Example assumes that you will save the script in C:\Scripts directory of your main SolarWinds server/poller.
Name of action: Reboot Node using Agent
Network path: powershell.exe c:\Scripts\RebootNode.ps1 -node_id '${N=SwisEntity;M=Node.NodeID}'
