The following training video demonstrates how to create agent procedures to automate your management of agent machines.
Agent Procedure Editor