-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prefer pwsh.exe over powershell.exe in documentation #2610
base: master
Are you sure you want to change the base?
Conversation
Not the expert, but the transition from "Windows PowerShell" to cross-platform "PowerShell" started with PowerShell Core 6, GA on January 10, 2018. We are now at "Powershell 7.5": https://en.wikipedia.org/wiki/PowerShell Now, MS designed old Windows PowerShell and new Powershell to run side-by-side. "Windows PowerShell is the version of PowerShell that ships in Windows. This version of PowerShell uses the full .NET Framework, which only runs on Windows. The latest version is Windows PowerShell 5.1. Microsoft is no longer updating Windows PowerShell with new features." https://learn.microsoft.com/en-us/powershell/scripting/what-is-windows-powershell So MS still ships Windows PowerShell, but for a couple of years there has been a nag message that prompts you to install cross-platform Powershell aka pwsh.exe. So, developers could use both but most likely have upgraded to pwsh |
Hmm, interesting. @runeimp do you happen to know? I'd like to change all the docs to use |
As I understand it (guesswork based on Microsoft information which is generally deplorable) |
I recently installed Windows 11 Pro 23H2 and then upgraded to 24H2 to use for various tests. On this machine, surprisingly, I didn't get On the other hand, for those who install and use If/when you make changes, also consider: |
AFAIK At the very least, installing the latest winget install Casey.Just
winget install Microsoft.PowerShell Maybe that's good enough? I forget which versions of Windows include |
@cspotcode I think you're right. I'm not sure where I got the notion that |
Fixes #2604.
@john-cd Since which version of windows is
pwsh.exe
installed on by default? I want to make sure it's widely available before changing the docs.