Run the pmjoin -a <master server> <master server> and then run a mass copy job that would replace the pm.settings file on all the agents.
For help with scripting, deployment and other customizations you may contact our Professional Services Team by contacting your Account Management team, or by emailing http://www.quest.com/professional-services/ directly.