---
module: devices.agent-scripts
title: Agent Scripts
tab: Customer
order: 10
audience: customer
---

Store reusable scripts here and send them out to your ATMs when you need to run a routine maintenance or housekeeping task across the fleet.

## 📋 What you're looking at

The list shows every script you've saved:

- **Name** — the script's file name, with a colored tag showing its type (**CMD**, **PS1**, or **SH**).
- **Description** — your short note about what the script does.
- **Updated** — the date the script was last changed.

## ➕ Add a Script
1. Click **+ Add Script** in the toolbar.
2. Enter a **Script Name** ending in `.cmd`, `.sh`, or `.ps1`.
3. Add an optional **Description**.
4. Type or paste the **Script Content** into the editor.
5. Click **Add Script** to save it.

> The file type is set by the name's ending, and the editor adjusts to match.

## ✏️ Edit or Delete
- **Edit** — update a script's description or content. The name can't be changed after it's created.
- **Delete** — remove a script from this list. This can't be undone. If the script was already pushed to an ATM, it stays on that ATM.

## 🚀 Push a Script to the Fleet
1. Click **Push** next to the script you want to send.
2. HiveIQ prepares the list of **connected ATMs** — TCR machines are automatically left out.
3. Review the number of ATMs that will receive it.
4. Click **Push to [n] ATMs** to send it. A fleet task is created for each ATM, and they pick it up on their next check-in.

> Only ATMs that are currently online will receive the script. Every script is delivered securely, and each ATM confirms it's genuine before saving it.
