Skip to content

Windows

How do I run PowerShell scripts?

Quick answer

Set shell: pwsh on the step for PowerShell Core, or shell: powershell for Windows PowerShell 5.1.

The detail that matters

pwsh is the better default — it behaves consistently across Windows, Linux and macOS runners.

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.