Home » Features >> Custom Scripts
srch-icn
 

Managing Custom Scripts


It is mandatory to add all the custom scripts in the script repository.  Custom script files are used to configure the software settings, trigger events, etc in the computer of a network. The custom script for  files can be batch (.bat), command (.cmd), Windows Script Host (WSH) files. The WSH files includes the VBScript (.vbs), Java Script (.js),  Perl (.php), REXX, Python, sh, scpt, pl, and py files.

Adding the Script Details

To add the script details to UEM Central MSP, follow these steps:

  1. Click the Admin tab to invoke the Admin page.

  2. Click the Script Repository link under Repository. This invokes the Script Repository page.

  3. Click the Add Script button to invoke the Add Script page.

  4. Select the script from local disk of the computer by clicking Browse, and upload the script

  5. Enter the description for the script in the Description field.

  6. Enter the arguments for the script in the Script Arguments field.

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

  8. Click the Add button. You can find the script added to the table in the Script Details page.

  9. Repeat steps 3 to 8 for adding more scripts.

Modifying the Script Details

To modify the Script details, follow these steps:

  1. Click the Admin tab to invoke the Admin page.

  2. Click the Script Repository link under Repository. This invokes the Script Repository page.

  3. Click the icon under the Actions column next to corresponding Script Name.

  4. You can choose to edit the script in the default editor which will be open, or you can choose to download the script, modify it and upload the modified version.

  5. Click the Modify button to complete the process.

Removing the Script Details

To remove the Script details, follow these steps:

  1. Click the Admin tab to invoke the Admin page.

  2. Click the Script Repository under Repository. The Script Repository page is invoked.

  3. Click the icon under the Actions column next to corresponding Script name. Click OK to confirm deletion.

The script will be removed from the Script Repository table.