Command modes for istool
You can use the istool commands in different modes: command line, console, or script.
- Console mode (in a command prompt)
The preferred method of running istool commands in a command prompt.
To enter console mode, enter istool on a command line.
In console mode, istool prints a command prompt and waits for a command. Each command is processed without exiting istool. You must enter authentication details for every command. You can exit the console mode by entering a period character (.), exit, or quit at the prompt.
Console mode also has a history feature that recalls the last 30 commands entered. You can recall and execute each command. To view the most recent commands, enter history. To repeat a command, enter !command_number, for example, !2.
- Command mode (in a command prompt)
Command mode uses the operating system command prompt. In command mode, enter commands one at a time on a command line. Start each command with istool followed by a command, then the parameters. You must surround parameter values that contain embedded spaces with double quotation mark characters (").
- Script mode
The istool command can be used to execute commands read directly from a text file. The file is read and executed as a series of command lines.
In script mode, each line in the input file must be formatted the same as a command line entered manually, except for the following stipulations.- You do not need to include the istool string on each command line.
- Multiple commands are separated by a semicolon character (;) at the end of an input line.
- Command lines can cross line boundaries.
Command syntax:istool –script file_name