What’s the difference between “shell: pwsh” and “shell: powershell” in GitHub workflow files?

"shell: powershell"
- Windows PowerShell 5.1
- Windows only
- NET Framework 4.5

"shell: pwsh"
- PowerShell (Core) 6+
- Cross-platform (Windows, macOS, Linux)
- NET Core / .NET (open source)

Checkout this example workflow file! (Example workflow file)

Hello, Welcome to DevOpsUnleashed!

A blog dedicated to sharing information about DevOps. Here, you’ll find examples, tips, and tutorials on DevOps.

Feel free to share your experiences in the comments!

Blog Categories