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.
To add the script details to UEM Central MSP, follow these steps:
Click the Admin tab to invoke the Admin page.
Click the Script Repository link under Repository. This invokes the Script Repository page.
Click theAdd Scriptbutton to invoke theAdd Scriptpage.
Select the script from local disk of the computer by clicking Browse, andupload the script
Enter the description for the script in the Description field.
Enter the arguments for the script in the Script Arguments field.
Specify the exit code, which should be returned, when the script has been executed successfully
Click the Add button. You can find the script added to the table in the Script Details page.
Repeat steps 3 to 8 for adding more scripts.
To modify the Script details, follow these steps:
Click the Admin tab to invoke the Admin page.
Click the Script Repository link under Repository. This invokes the Script Repository page.
Click the
icon under the Actions column next to corresponding ScriptName.
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.
Click theModifybutton to complete the process.
To remove the Script details, follow these steps:
Click the Admin tab to invoke the Admin page.
Click the Script Repository under Repository. The Script Repository page is invoked.
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.