Create a Script for a Management Agent Run Profile
For this procedure, you can create a Visual Basic or C# script for a run profile. Run profile scripts are useful when you want another script or external process to run a management agent run profile. To complete this procedure, you must be logged on as a member of the FIMSyncAdmins security group.
To create a script for a management agent run profile
On the Tools menu, click Management Agents.
In Management Agents, click a management agent.
On the Actions menu, click Configure Run Profiles.
In the Configure Run Profiles forManagementAgent dialog box, in Management agent run profiles, click the run profile that you want to add a script, and then click Script.
In Save as, type a name and location for the script, and then click Save.
You can run a script from the command line, another script, Windows Task Scheduler, or a separate application.