That script is very simple, but could be modified, but it quickly gets more involved. personally i would make the script connect to the bp database, and check the status of the resources, and then act on the resources, based on this information.
/J-...
potentially yes.
assuming there is limited access to the RR automate.exe HTTP API, but still network connection as a minimum. then it would be possible to execute a powershell script that reboots the remote RR. This requires a powershell VBO and cred...