Importing Parameterized Script from Library

You can import a Parameterized script from the Library. The imported scripts are available in the Scripts tab. You can edit parameters as per your requirements. Importing a script imports the script details and excludes metadata.

Import Scripts

To import a script, follow these steps:

  1. Navigate to Library tab and toggle Show Parameterized Script.
  2. Select the required script, that you want to import.
  3. From the Quick Actions menu, click Import Script.

    import Parameterized Script.

    Import Script page is displayed.

  4. Provide a unique Name for the script.
  5. Select the Category and Type of Script.

    Make sure to choose a unique name for the script when importing to avoid an error message that is displayed if the imported script name matches an existing one.

    The script is now available in the Script tab and is in the Pending Update status. You can see a Parameterized script  icon in front of a script.

    View p

Update Script Parameters

Now the Parameterized script has been imported and is available in the Scripts tab. The next step is to update script parameters.

Follow these steps to update the parameters:

  1. Select the imported script and from the Quick Actions menu, click Edit.

  2. Edit the Basic Information of the script, like the Name and Description, as per your requirement.

  3. Edit the parameters as required like Category, Time limit, Severity.

  4. Click  icon from Scripts to enter the values for parameters.

    The Edit Query pane is displayed.

  5. Enter the parameters in the Edit Query pane and click Update and then Next.

    You can identify the parameters you have entered as they are highlighted in blue in the Preview Script.

    update parameter query.

  6. From the Review and Confirm tab, review all the details, and to confirm, click Update.

    The Script is updated with parameters and status changes from Pending Update to Pending Test.

  7. Test the script. 

    Refer to the Testing Scripts section for more information.

  8. Review and Approve the Script. 

    Refer to Reviewing and Approving Scripts section for more information.

  9. Proceed with the Execution of the Script.

    Refer to  Executing Scripts section for more information.

Related Topics

Testing Scripts 

Reviewing and Approving Scripts

Executing Scripts