Start a session with a specific version of PowerShell

powershell

  • Command-line shell and scripting language designed especially for system administration.
    See also: `pwsh`.
    More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/powershell>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

powershell -Version {{version}}

click the source code to copy