Windows PowerShell (powershell.exe) is the legacy 5.X and earlier version of PowerShell that ships with Windows. PowerShell Core (pwsh.exe) is the modern, cross-platform PowerShell that has been supported since 6.0 (January 2018) up through the most recent (December 2021) 7.2.1 release.
The current or as written will short-circuit on the built-in powershell.exe, regardless of whether pwsh.exe is installed. This change reverses this order so that those who have optionally installed PowerShell Core will have M-x powershell initiate the newer shell.
Windows PowerShell (powershell.exe) is the legacy 5.X and earlier version of PowerShell that ships with Windows. PowerShell Core (pwsh.exe) is the modern, cross-platform PowerShell that has been supported since 6.0 (January 2018) up through the most recent (December 2021) 7.2.1 release.
The current
or
as written will short-circuit on the built-inpowershell.exe
, regardless of whetherpwsh.exe
is installed. This change reverses this order so that those who have optionally installed PowerShell Core will haveM-x powershell
initiate the newer shell.