6.In the Description field, type a description, for example, This command activates a script that backs up an element.
7.In the Command Line field type a command, which will run on the management server.
This could be a command required to start a script, for example the following:
myscript.bat
The remote console automatically becomes inactive once the command finishes. (Windows Only) If you want the remote console to stay open, prefix the command with the following:
cmd /k
For example:
cmd /k dir
IMPORTANT: When the command in the above example runs, it leaves the remote console window open, so you can enter additional commands. Users can traverse the directory structure of the management server when the remove console is left open.
The file is appended to the command line.(Optional) If you plan to use a file in the command, select the file from the Files
If the file is missing, repeat step 3.
8.Select one of the following options to determine which elements you want the command to be visible. For example if you select the All Elements option, the command is visible in the
•Name of the Element - Select the name of the element if you want the command to be visible in the
•All Elements - Select this option if you want the command to be visible in the
•Selected element types and filter criteria - Select this option if you want to narrow the filtering criteria for an element type. For example, you could specify that the command is only in the
•Applications - (Optional) If you want the command to be visible in the
•Hosts - (Optional) If you want the command to be visible in the
•Switches - (Optional) If you want the command to be visible in the
262 Viewing Element Topology and Properties