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 ALVAO Asset Management Console operator computer.
%epmyip% The IP address of the ALVAO 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

  1. From the AM Console main menu, use the Tools - Lists - Commands.
  2. The window will appear Commands.
  3. Press the Add button.
  4. 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.
  5. To use a property as a command parameter, press the Insert Variable button.
    A list of supported variables will be displayed.
    Select Object Property...
  6. from the button menu.
  7. The window will appear Property definitions.
    Select a property and press the OK button, or click on the property with the mouse.
  8. 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.