Create a custom script

  1. Click Libraries > Scripts > New Script.
  2. Enter the script details:
    • Name: Provide a unique name (required).
    • Description: Optionally, add a description for context.
  3. Enter your PowerShell code in the Script field. This field is a built-in editor with autocomplete for supported cmdlets and their parameters.
  4. Click Save. Your script can now be referenced by one or more tasks

For information about the allowed custom cmdlets and regular PowerShell cmdlets, see Custom scripts.

Edit a custom script

  1. Select a script from the list. Double-click or click the edit icon ().
  2. Edit the script details.
  3. Click Save.

Delete a script

  1. Select a script from the list.
  2. Click the delete icon (). If there are dependent resources, you cannot delete the script until these dependencies are resolved.
  3. If there are no dependencies, click Delete to confirm.

For practical examples of using custom cmdlets, see Custom script samples.