script

The script command directs the Administration Tool to execute a script containing a series of commands. You can use a script to automate administrative tasks.

Usage

script --file ScriptFile --linenumbers TrueOrFalse
RequiredArgumentDescription
Yes--file ScriptFileSpecifies the path to the script file.
No--linenumbers TrueOrFalseSpecifies whether to display line numbers while executing the script, where TrueOrFalse is one of the following:
true
Displays line numbers while executing the script.
false
Does not display line numbers while executing the script. This is the default value.

Example

This example executes a script named myscript.cli located in the folder scripts which is a subfolder under the folder that contains the Administration Utility.

script --file scripts/myscript.cli