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 MIISAdmins security group.
To create a script for a management agent run
On the Tools menu, click Management Agents.
In Management Agents, click a management agent.
On the Actions menu, click Configure Run
In the Configure Run Profiles for ManagementAgent
dialog box, in Management agent run profiles, click the run
profile that you want to add a script, and then click
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. For more
information, see Related Topics.