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 TrueOrFalseRequired | Argument | Description |
---|---|---|
Yes | --file ScriptFile | Specifies the path to the script file. |
No | --linenumbers TrueOrFalse | Specifies whether to display line numbers while executing the script, where
TrueOrFalse is one of the following:
|
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