To define a user command for a device:
Select Infrastructure from the Navigation menu.
The Devices page appears.
Select a device from the list.
In the left panel, select Administration.
The Add User Command dialog appears.
Enter a name for the command, and then click OK.
The Define Commands page appears.
In the Description field, enter a description of what the command will do.
In the Command section, enter the TALES expression-based command you want to run.
Enter your system account password for confirmation, and then click Save.
The command is saved and added to the commands menu.
Optionally test the command by running it.