Skip Navigation LinksALVAO 11.2 / Admin guide / Asset Management / Commands
Commands
When you right-click on a computer in the object tree, a menu opens on the screen with a list of user-defined commands under Admin Tools.
If you want to add your own command or a command to the menu
To edit, select Tools - Lists - Commands from the AM Console main menu. The Commands window opens on the screen with a list of commands that you can edit.
When creating user commands, you can use the following parameters passed by the program:
In addition to operating system variables such as %SystemRoot%, %ProgramFiles%, etc., the following parameters can also be used in a command:
Table 1. User command parameters
Parameter |
Description |
%epcomputer% |
The value of the Network Name property that is selected in the object tree (i.e., the computer to which the user command is "applied"). |
%ephostname% |
Network name of the selected object in the tree. |
%epip% |
The value of the IP address property of the client computer. If the Computer object does not contain this property, the property is automatically taken from a child object of type Network Card. |
%ephostname_or_ip% |
Network Name or IP Address of the selected object in the tree. If Network Name is empty, IP Address is used. |
%epmac% |
The value of the MAC address property of the client computer. If the Computer object does not contain this property, the property is automatically taken from a child object of type Network Card. |
%epmycomputer% |
The value of the Network Name property of the Asset Management Console operator computer. |
%epmyip% |
The IP address of the Asset Management Console operator computer. If the Computer object does not contain this property, the property is automatically taken from a child object of type Network Card. |
Note:
It is also possible to use any object property value as a command parameter.
Creating a statement with the object property value parameter
- From the AM Console main menu, use the Tools -
Lists - Commands.
- The window will appear Commands.
- Press the Add button.
- The window will appear New command
Fill in the name of the command and the directory where the command should be run.
Enter the command.
- To use a property as a command parameter, press the Insert Variable button.
A list of supported variables will be displayed.
Select Object Property... from the button menu.
- The window will appear Property definitions.
Select a property and press the OK button, or click on the property with the mouse.
- In the window New command will add the value of the property as a command parameter.
Did not find what you were looking for? Ask our technical support team.