---
title: Running a Script
slug: singleconnect-reference-guide-3-1-0/running-a-script
description: Learn how to run admin pre-defined scripts on the Script Builder section of the Script Player screen in the Single Connect Web GUI. Follow step-by-step instructions on logging in, selecting a script, choosing a device, filling in required fields, and exec
docTags: 
createdAt: 2022-08-02T09:54:44.000Z
---

Users can run admin pre-defined scripts on the Script Builder section of the Script Player Screen:

1. Log in to the Single Connect Web GUI.
2. Navigate to **Script Designer&#x20;**> **Script Player**.
3. Click on a defined **Script**.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/FUstjskQxgKdw8jJB27iW_image.png" size="60" width="550" height="425" caption="Script Player " position="center" showCaption="true"}

- Select the device, fill in the other required fields, and click the **Run** button.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/sn4mL2pdY-m6OS-HdmJzw_image.png" size="80" width="731" height="302" caption="Run Script " position="center" showCaption="true"}

- Click the Yes button to run the script:

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/MpmoEAbfytZXTwIF45tu-_image.png" size="60" width="399" height="251" caption="Run Script " position="center" showCaption="true"}

Executed script details display in the **Command Output** window on the right or in the **Executed Commands** an&#x64;**&#x20;Command Output&#x20;**&#x66;ields in the **Workflow History** section. The Device dropdown lists the devices that are assigned to the selecte&#x64;**&#x20;Device Group**. Users can select multiple devices from the Device dropdown, and the **Command Output** section displays the result of the executed script for each device selected. Command output is expandable; if the output is too large, users can expand its size accordingly.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/kYeQu6Mm8dzft7YorXlA7_image.png" size="90" width="980" height="438" caption="Script Results" position="center" showCaption="true"}

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/6hzcfbsj-LPqSnY-AdgYz_image.png" size="90" width="879" height="365" caption="Expanded Command Output" position="center" showCaption="true"}

The **Script Player Log** screen displays all details of the executed scripts. The script details can be filtered by time, user, and device information. The result set includes the information of executed commands, command outputs, their status, and details.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/HmeAaJs7J72ht-fJQ9a9D_image.png" size="90" width="910" height="373" caption="Script Player Log Screen" position="center" showCaption="true"}

