# Script File (.ps1)

say it: **“SKRIPT FYLE”** **/ˈskrɪpt ˈfaɪl/** or **“dot PEE-ESS WUN”** **/dɑt ˌpi ˈɛs ˈwʌn/**

A \`.ps1\` file of PowerShell commands.

## What is **Script File (.ps1)**?

A **script file** (`.ps1`) holds PowerShell commands to run in order. Run it with its path, like `.\backup.ps1`.

```powershell
.\backup.ps1 -Destination D:\Backups
```

Level: Apprentice · [More PowerShell terms at this level](https://www.ask-codey.com/glossary?category=powershell&level=2)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/script-file-ps1
