You can execute a script file from
the command line, a shell window, or from a batch file. Ensure the
first action performed by the script is connecting to a Configuration Manager. The Configuration Manager
Proxy API Exerciser sample
can be used to record and play back configuration scripts.
- Start the Configuration Manager
Proxy API
Exerciser.
The Configuration Manager Proxy
API Exerciser window is displayed.
- Start recording a script by clicking .
The Save dialog is displayed.
- Type a name for the script file and select an appropriate
file location.
- Click .
- Perform a number of actions on a Configuration Manager using the Configuration Manager
Proxy API Exerciser.
In
this case the first action performed will be connecting to a Configuration Manager, however you can start
recording a script at any point during the management of a Configuration Manager.
- Optional: Insert a pause by clicking .
A pause causes the Configuration Manager
Proxy API Exerciser to wait
for a period of time so that responses can be returned before the
next action is issued. This is important in order to remove naming
conflicts if you are deleting and recreating objects of the same name.
The Insert a pause dialog box
is displayed, which allows you to specify the duration of the pause.
- Stop recording the script by clicking .
Information relating to the actions
preformed are saved to the script file.
- To replay the script file, click .
The Open dialog box is displayed.
- Select the appropriate script file.
- Click .
The script file is replayed.