The Console Script

Navigation:  Client commands > Phase: Creation > Create a new Client Command >

The Console Script

Version 1.0.0

A console script is not really necessary to read out the services on a client. However, in this case, a dialog can be displayed for someone who executes the Client Command from a console. This means that the executing person would see once again the task of the Client Command and how it is to be executed. With such a dialog, it would still be possible to cancel any incorrectly selected Client Command.

 

To access this dialog, drag the command dialog from the command list on the left side into script box. A window opens, in which the dialog will now be configured (see Category Dialogs). In the tab General you have to enter the text Information as description of the action. Further details are not required at this point. Now go to the tab Email settings. Enter the title Read services and a matching message. The following message has been entered in the existing Client Command:

 

 The name, status and the start type of the installed services is now being

 read from the selected computers and saved in their client details as individual

  fields. (Client Details > Software > Computer > Individual Fields).

 

An explanation of the role the Individual Fields is provided at a later stage in connection with the compilation of the client script, respectively in Chapter 7. Individual Fields.

 

Since the user of the Client Command needs to obtain information from dialog which is to be configured at this stage, select information as message type. Likewise, only the buttons OK and Cancel are required and can be activated by means of the corresponding checkboxes.

 

To terminate the execution of the Client Command, if this was done by mistake, the Cancel button is also connected to the Cancel Command of the entire client by a checkmark in the Cancel checkbox in the Cancel on button(s) checkbox.

 

You are not required to enter a variable, since the continued exectuion of the Client Command depends only on the buttons. This means that no data or input needs to be processed.

 

No configurations are entered in the tab Input settings, since no input other than a click on OK or Cancel is required by the user.

 

5.3.1.1 - Konsolenskript

A dialog box

 

In the tab Advanced Settings the dialog box is designed to close automatically after 25 seconds. Likewise, the Client Command is closed if the user does not confirm this dialog within the set time.

 

Click on the OK button to accept the configuration. The command is now integrated into the Client Command. Now change to the client script by means of the side tabs..

Last change on 10.03.2014