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:
:TERMINATE
Syntax of this function can be found in our documentation:
https://docs.automic.com/documentation/webhelp/english/AWA/11.2/AE/11.2/All%20Guides/help.htm#ucaaxy.htm
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
manage them.
If you have another method you prefer, we’d love to hear from
you – please feel free to make additions below!