The below code is only an example but by changing the "addr" variable you can specify what order you want the services stopped and started in. Also, this assumes that the NTServices probe is running on those servers as well. The top part, alarm.get, simply grabs the robot path from the event for use in the addr variable.
-- Get data from current alarm
a = alarm.get ()
addr = "/" ..a.domain.. "/" ..a.hub.. "/" ..a.robot.. "/ntservices"
-- Create variable for Windows Service name
argsa = pds.create()
pds.putString (argsa,"name","Service_Name_Here")
-- Stop Windows Service
s_statusa,rca = nimbus.request(addr,"stop_service",argsa)
-- Start Windows Service
s_statusa,rca = nimbus.request(addr,"start_service",argsa)