---
title: Running a Script
slug: kronpam-reference-guide-3-8-0/running-a-script
docTags: 
createdAt: 2024-12-16T13:57:48.967Z
---

In Privileged Task Automation, authorized users can execute scripts on selected devices within a device group. This section outlines the steps to select a script, choose target devices, execute the script, and view its output.

To run a script on target devices:

1. Navigate to the **Scripts Tab.**
2. From the Script Group panel, select the desired group to list the available scripts. Locate the script you want to execute.
3. Click the <font color="#22ae21">**Green**</font> arrow button next to the script name.
4. In the **Run Script** window, configure the following:
   - **Device Group:** Select the device group containing the target devices.
   - **Device(s):&#x20;**&#x43;hoose one or more devices from the selected device group.
5. Click **Next** to review the script details and selected devices.
6. Review the summary and clic&#x6B;**&#x20;Run** to execute the script. The script output is displayed in the Run Script windows during execution.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/Pes_AiWFIHza2cOgISf0H_image.png "Executing Scripts")

