# Sleep Script

> Executes a PowerShell script that causes the system to pause or sleep for a specified number of seconds, allowing you to introduce a delay in your automation workflows.

Source: https://docs.capaone.com/capaone/application-manager/powerbricks/sleep-script/  
Product: CapaOne — a separate CapaSystems product; do not apply this page to any other.

Executes a PowerShell script that causes the system to pause or sleep for a specified number of seconds, allowing you to introduce a delay in your automation workflows or scripts.

## Parameters

#### Seconds
*Required* — Default: `5`

The number of seconds to sleep

## Details

- **Category:** System
- **Brick ID:** `Sleep-Script`

## Raw JSON definition

**JSON**

```json
{
  "category": "system",
  "description": "Executes a PowerShell script that causes the system to pause or sleep for a specified number of seconds, allowing you to introduce a delay in your automation workflows or scripts.",
  "developerVendor": "CapaSystems A/S",
  "displayName": null,
  "id": "Sleep-Script",
  "name": "Sleep Script",
  "parameters": [
    {
      "allowManualInput": false,
      "defaultValue": "5",
      "defaultValueObject": null,
      "description": "The number of seconds to sleep",
      "id": "Seconds",
      "name": "Seconds",
      "regExValidation": "",
      "required": true,
      "type": "Integer",
      "value": null,
      "values": [],
      "valuesObject": null
    }
  ],
  "powershell": {
    "base64Encoded": true,
    "function": "ZnVuY3Rpb2..."
  },
  "type": "powerbrick",
  "version": "2026.9.1.1"
}
```
