commands.sh

powershell

all

This command may be mistaken as the cross-platform version of PowerShell (formerly known as PowerShell Core), which uses `pwsh` instead of `powershell`. The original `powershell` command in Windows is still available to use the legacy Windows version of PowerShell (version 5.1 and below).

More info →

Options (1)

-p, --platformboolean

View the documentation for the command referring to the legacy Windows PowerShell (version 5.1 and below)

Example: tldr powershell {{[-p|--platform]}} windows

Examples (2)

View the documentation for the command referring to the latest, cross-platform version of PowerShell (version 6 and above)

View the documentation for the command referring to the legacy Windows PowerShell (version 5.1 and below)

tldr powershell [-p|--platform] windows
made by @shridhargupta | data from tldr-pages