Commands
If you right-click on a computer in the Objects tree, a context menu will open with the item - Administrator tools. This is where you can find a set of commands which can be customized.
If you want to add your own command to the menu or edit an existing command, select Tools – Lists – Commands in the Console main menu. The Commands window opens with a list of commands that you can edit as required.
When creating user-defined commands, you can use the following parameters:
In addition to the operating system variables, such as %SystemRoot%, %ProgramFiles% etc., you can also use the following parameters:
Table 1. Parameters for user-defined commands
Parameter |
Description |
%epcomputer% |
The value of the Name on the network property of the computer selected in the objects tree (i.e the computer to which the user-defined command will be applied). |
%ephostname% |
Name on the network of the object selected in the tree. |
%epip% |
Value of the IP address property for the client computer. If the object Computer does not contain this property, the property is automatically taken over from the child object kind Network card. |
%ephostname_or_ip% |
Name on the network or the IP address of the object selected in the tree. If the Name on the network is blank, the IP address will be used. |
%epmac% |
Value of the MAC address property for the client computer. If the object Computer does not contain this property, the property is automatically taken over from the child object kind Network card. |
%epmycomputer% |
The value of the Name on the network property for the ALVAO Asset operator's computer. |
%epmyip% |
The value of the IP address property for the ALVAO Asset operator's computer. If the object Computer does not contain this property, the property is automatically taken over from the child object kind Network card. |
Note: You can use any object property value as a command parameter.
How to create a command with an object property value used as a parameter
- Go to the AM Console and select Tools – Lists – Commands from the main menu.
- The Commands window opens.
- Click on the Add button.
- The New command window opens.
Fill in the command name and the folder where you want to run the command. Enter the command.
- If you want to use a property as a parameter, click on the Insert variable button.
A list of supported variables opens. Select Object property... from the button menu.
- The Property definition window opens.
Select a property and click on OK. You can also double-click the selected property instead.
- The New command window will now contain the property value as the command parameter.
Did not find what you were looking for? Ask our technical support team.
|