Executing Custom Scripts

  1. Name the Configuration

  2. Define Configuration

  3. Define Target

  4. Deploy Configuration


Desktop Central provides options for configuring almost all the computer configurations from remote. In addition to the configurations that are supported by Desktop Central, administrators can also write their own scripts that could be run on the machines for accomplishing specific configurations. The scripts could be any of the following:

Note: The script engines for languages like Perl, REXX, and Python, must be registered with Windows.

Step 1: Name the Configuration

Provide a name and description for the Custom Script Configuration.

Step 2: Define Configuration

The table given below lists the parameters that have to be provided for defining the configuration.

 

Parameter Description

Script Name*

The script that has to be added/removed in the machines needs to be chosen from the script repository. It is mandatory to add the script to the script repository for this to work.

 

Script Arguments

The arguments that have to be provided while executing the scripts.

Exit Code

Specify the exit code, which should be returned, when the script has been executed successfully

Frequency

 

Specify the frequency for this script to be executed, like only once, during every system startup, during subsequent system startup for specified number of times or all system startup until a specified time period.

 

Step 3: Define Target

Using  the Defining Targets procedure, define the targets for deploying the Custom Script Configuration.

Step 4: Deploy Configuration

Click the Deploy button to deploy the defined Custom Script Configuration in the targets.

 

To save the configuration as draft, click Save as Draft.

 

See Also: Managing Configurations and Collections, Viewing Configuration Reports, Defining Targets, Managing Custom Scripts

 

Copyright © 2015, ZOHO Corp. All Rights Reserved.
ManageEngine