If you are running the new beta agent and plugin then you have probably THE BEST command tool available. The command builder is part of the agent and will appear if you choose the "show command builder" option at the bottom of the HAI agent application box.
From there, choose the command and let the builder work its magic. Add your variables, copy, paste, done.
"Round up the usual suspects."