Recently we’ve had a couple of questions regarding how to
shut down Agents without interacting with the Service Manager Dialog
(specifically, in the event that there are many Agents on separate machines).
This can be accomplished with the following script function:
Syntax of this function can be found in our documentation:
With this function, you can specify three connection types:
HOST = Agent
HOSTGROUP = Agents of an agent group
SERVER = Work or Communication process
Please be aware that terminating Agents/Processes in this
fashion is fine (with proper consideration of outages), but starting them
outside of the Service Manager process will remove the ability to remotely
If you have another method you prefer, we’d love to hear from
you – please feel free to make additions below!