Windows

PowerShell

PowerShell is a shell and scripting language that passes structured objects between commands. PowerShell and Windows PowerShell have different versions and compatibility characteristics, so a workflow should select the shell its scripts expect.

Also known as: pwsh

Why it matters

Object-based scripting and shell-version differences affect workflow command behavior.

Practical example

Set shell: pwsh for a script that relies on modern PowerShell behavior.

Related terms

Sources

Definition reviewed .

Start with $10 in free credits

Change the runner label in your workflow and keep the rest of your GitHub Actions setup. Runner time is billed per minute.

← Return to glossary