The attached runscript-based NSH script is used to reboot UNIX, Linux, or Windows machines as part of a sequence of multiple operations. It sends a reboot command to the server and then monitors the status of the server until it has finished rebooting and is once again accessible to Network Shell (i.e. the agent has restarted).
This script was based on a previous thread:
*NOTE Version 1.3 has been posted which kills any remaining background processes.*