We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Managed Workplace

Using Script Templates

  • Last updated on

Barracuda Managed Workplace includes three script templates that you can use as the basis for creating a custom script:

  • PowerShell
  • Python
  • VBScript

Each template implements the same functionality, demonstrating:

  • param mechanisms, which tell you how to handle the parameter types;
  • a command that you can run to determine in which directory the script files are located;
  • a script example.
To use a script template
  1. In Service Center, click Automation > Library.
  2. In the Category column, select Script Templates from the list.
  3. Select the check box beside the script template you want to customize.
  4. Click Export.
  5. Click Save and specify a location.
  6. The script is saved as an .mws file. To open the script file, rename the file with a .zip extension.
  7. The .zip file contains the script file and an XML file containing the script metadata. Extract the script file and open it in a text editor.

  8. Replace the script example portion with your custom script, and save.
  9. In Service Center, click Automation > Library > New Script.

 

Last updated on