Run scripts

You can run a script directly from the Assets view (New), for one or multiple devices.

This documentation reflects the current capabilities of this Ecoverse view. As new features and functions are released, this documentation will be updated to match. Please see the N-central roadmap for upcoming improvements.

Run a script on a single device

  1. Go to Views > Assets in the Left navigation.
  2. (Optional) Select a custom view or apply a custom filter.
  3. Locate the target asset, and select its Actions menu.
  4. Choose Run Script to open the Run script dialog.
    1. Provide a Job name or use the default.
    2. Choose the script to run from the Select script to run dropdown menu.
    3. Select the account to use when running the script from the Credentials dropdown menu
    4. Set an Execution timeout in seconds.
    5. Configure any required Input and Output parameters.
  5. When the configuration is complete, select Run script.
  6. After a script runs on an asset, view the results from the View script results.

Run a script on multiple devices

  1. Go to Views > Assets in the Left navigation.
  2. (Optional) Select a custom view or apply a custom filter.
  3. Select the checkbox for each target device.
  4. Select the Actions menu at the top of the table grid.
  5. Choose Run Script.
  6. The Run script dialog opens and displays the number of selected devices, including how many are currently offline.

    1. Provide a Job name or use the default.
    2. Choose the script to run from the Select script to run dropdown menu.
    3. Set the required Credentials from the dropdown menu.
    4. Set an Execution timeout in seconds.
    5. Configure any required Input and Output parameters.
  7. (Optional) Enable Execute when online for offline devices.
  8. When the configuration is complete, select Run script.

    Online devices run the script task in near real time.

    Offline devices show as Pending in the Script tasks tab if Execute when online has been enabled. The script task runs after the device come back online.

  9. After a script runs on an asset, view the results from the View script results.

Related articles