Customer wants to run a command or a script before the reboot restarts the machine. You can speciofy one command in "before_reboot_command" key or use a scrtipt, as defined below.
1- Configure reboot probe according to the desired Time Spec
2- Create a batch file on the robot where reboot probe is installed under $NIMROOT\probes\system\reboot
(where $NIMROOT?is Nimsoft install location). Make sure it has .bat extension. Let's say it is test.bat
3- Open reboot probe configuration (in Raw Configure)
4- Edit "before_reboot_command" key and type in your batch file created in Step 2 e.g test.bat
5- Click Ok and Apply
Now, when the reboot probe is initialized based on Time Spec, it will run the batch file first and then do a reboot. The batch file can contain regular command for local and/or remote systems.?If you are running remote commands, you have to run the "Nimsoft Watcher Service" as a valid Domain account with permission to run remote commands on servers.?Or you can use Sysinternals's PsTools (http://technet.microsoft.com/en-us/sysinternals/bb896649)