Canned Scripts: Create Scripts for Screen Sharing or Command Shell Sessions
Create custom scripts to be used in command shell sessions. The script will be displayed in the command shell interface as it is being executed. Filter your view of canned scripts by selecting a category or team from the dropdown at the top of the page.
The first step in managing canned scripts is to create categories by which to organize your scripts. Next, add any resource files you want to access from within your scripts. You may upload up to 100 MB to your resource file directory.
When creating a script, first name the script and then add a brief description of what the script is intended to do. This description is displayed on the prompt to confirm that the representative wants to run the selected script.
Next, write the command sequence. Scripts must be written in command line format, similar to writing a batch file or shell script. Note that only the last line of the script may be interactive; you cannot prompt for input in the middle of the script.
Select which support teams should be able to run this script, and then select the categories under which this script should appear.
Finally, you may select a resource file to be associated with this script. Within the script itself, reference the resource file using "%RESOURCE_FILE%", making sure to include the quotation marks. Please note that the command sequence is case sensitive.
You can access the resource file’s temporary directory using %RESOURCE_DIR%. When you run a script with an associated resource file, that file will be temporarily uploaded to the customer’s computer.