r/PowerShell • u/d00mt0mb • Apr 24 '26
Why does Windows 11 force three different PowerShells?
Why does Windows 11 still ship with Windows PowerShell, Windows PowerShell (x86), ISE, CMD, WSL, the new PowerShell 7 app, and the Terminal app rewrite… all at the same time?
Terminal was supposed to unify this stuff. Instead it just launches whatever legacy shell happens to be lying around. I install the new PowerShell like the system tells me to, and now I’ve got even more entries in Start/Search; none of which I can remove because the old ones are welded into the OS.
It’s 2026 and Windows still has:
- CMD (40‑year‑old DOS shell)
- Windows PowerShell 5.1 (legacy, can’t uninstall)
- Windows PowerShell (x86)
- PowerShell ISE (x86 + 64‑bit)
- PowerShell 7 (the one we’re actually supposed to use)
- Terminal (which isn’t a shell, just another launcher)
Why do I need six different ways to open a prompt? Why can’t I hide or remove the legacy ones? Why does “PowerShell” in search show me everything except the one I actually want?
If Microsoft wants PowerShell 7 + Terminal to be the future, then clean up the past. Let us hide/remove the old shells and make Terminal actually synonymous with the modern environment instead of a front‑end for a pile of legacy executables.
This shouldn’t still be a thing.
201
u/everfixsolaris Apr 24 '26
Just wait until you find out how many shells are available in Linux (sh, bash, korn, fish ...........). Powershell is also an option in Linux .
ISE integrated scripting environment, it gives additional tools for development. The rest are for backwards compatibility because the changes between version break scripts built for older versions. Sysadmins get really angry when you break the hundreds of scripts they have written over their career.
74
u/godplaysdice_ Apr 24 '26
Backwards compatibility is the answer. Just because you personally don't use cmd or powershell 5.1 doesn't mean there aren't organizations out there with decades of infrastructure built up relying on those tools (among others).
30
u/ElvisChopinJoplin Apr 24 '26
As much as I love PowerShell v.7.x, I have to write to be compatible with v5.1 most of the time when I am working with Windows servers, because that is what it still ships with, as that was the last version before it went open source.
45
u/vermyx Apr 25 '26
This is a very myopic view. Backwards compatibility is very important. I recall almost 30 years ago someone was complaining why emacs wasn't installed in a school unix environment. The teacher told them "You will use vi and learn it. You may not like it, but it is more than likely that environments you support will not have anything else for a text editor." They said that was a stupid response. Having dealt with legacy systems 30 years later, I am thankful that was the approach the teacher took.
14
u/g3n3 Apr 25 '26
You forgot conhost.exe. Shells aren’t terminals. They are separate.
22
u/arpan3t Apr 24 '26
Two words: backwards compatibility
A lot of older system assemblies and utilities will use shell script vbscript so that’s why CMD is still around.
A lot of apps will target Windows PowerShell 5 in scheduled tasks because it ships with Windows and it’s guaranteed to be there.
32-bit PowerShell because not every Windows is 64-bit.
ISE is an editor environment, not a shell.
Windows 11 doesn’t ship with Pwsh 7, and WSL is a feature that’s not enabled by default.
Windows Terminal is a terminal and you can open any of the above shells with it.
29
u/GodAwfulFunk Apr 24 '26
You can pry cmd from my cold dead body.
19
u/xxb1ackhammer Apr 24 '26
You take away PowerShell 5 and most government and medical systems crumble.
9
u/Bassflow Apr 24 '26
Run powershell on an arm64 machine. You now have powershell arm64, x86, and x64.
6
u/Fistofpaper Apr 25 '26
This is bait, it has to be. I refuse to believe someone who should know better is this clueless.
9
u/_l33ter_ Apr 24 '26
they don't force it PowerSehll7 is the way to go!
CMD, WSL, has nothing to do with it
4
u/lxnch50 Apr 24 '26
Backwards compatibility.
4
u/jungleboydotca Apr 25 '26
How do we get to three?
I count two PowerShells:
powershell.exepwsh.exe...and the second one is optional, I think. So, only one 'forced' by my reckoning.
3
u/gregortroll Apr 25 '26 edited Apr 25 '26
Oh, don't forget using .HTA with VBSscript or JavaScript to make GUI desktop utilities!
3
u/nberglundde Apr 25 '26
Powershell copilot is coming..
3
u/ConcreteExist Apr 25 '26
The Terminal was meant to give a unified terminal experience, not replace any particular shell.
3
u/ShodoDeka Apr 25 '26
Ohh no options for solving different problems, how will I survive.
8
u/_l33ter_ Apr 24 '26
Windows PowerShell 5.1 (legacy, can’t uninstall) --> winget uninstall [NAME] --> cya pwsh5
2
u/thanatos8877 Apr 24 '26
I just watched this video a few days ago...maybe it will give you some answers.
https://youtu.be/2BHFGdRt0sA
2
u/Snoo_95743 Apr 25 '26
The DOS will rise again!
2
u/rdoloto Apr 25 '26
Wait until you find out about msix powershell 7.7 😂
2
u/BlackV Apr 25 '26 edited Apr 25 '26
Heck I think technically you could remove ps5, but it would be brutal
There are better hills to die on
2
u/The82Ghost Apr 25 '26
LOL, ISE is deprecated, WSL and Powershell 7 are optional. Ever heard of backwards compatibility?
If you don't want to use cmd or powershell 7 or WSL then don't. It's not forced on you by MS or Windows in any way.
2
u/No-Quail5810 Apr 25 '26
Windows generally never removes legacy system admin and automation tools, they just come up with replacements. There are still businesses out there running critical infrastructure on CMD, and MS like it that way.
2
u/State_Naive Apr 25 '26
You’re making a big deal out of nothing. I install PowerShell 7. I run PowerShell 7. If I’m feeling like I want to”options” I set PowerShell 7 as the default shell in Terminal. I like that I can open multiple shells as tabs in one terminal window, cuz sometimes CMD or bash or PS5.1 is the tool I need.
This isn’t hard
2
u/AdmRL_ Apr 26 '26 edited Apr 26 '26
It's pretty funny to make this complaint when you intentionally setup WSL and downloaded PS7, so effectively inflicted this problem on yourself in part.
If you want terminal, why not type "Terminal" and then it'll only show you the modern front end?
Because you're severely underestimating the scope of backwards compatibility windows requires.
for CMD you have near on 40 years of backlog, a file that runs cmd and queries WMI has worked for that entire time, there will be literally millions upon millions of sys admin scripts that have served single purpose reliably for decades, retiring CMD immediately triggers an industry wide review of all windows scripts to ensure they still function.
As well - any time you run a CMD command in PowerShell, PowerShell shims that to cmd behind the scenes, retire CMD and a huge chunk of PowerShell dies with it.
Likewise for PS7 vs PS5. There's the above issues, CMD shim + external dependencies but also when you run for example Get-WMIObject in PS7, it offloads to the PS5 runtime to execute. There's a shit ton of PS commands that do this because Windows itself was largely built with .NET Framework and so uses old API surfaces that PS7 (.NET Core) doesn't understand natively, there's a massive amount of plumbing that creates this inter-runtime connection so that PS7 can larp as PS5.
Separately and an even larger blocker is that PS7 has not been created as a Windows component, 5 was and is. PS7 is much closer to an SDK, so it's lifecycle cannot be tied to Windows. It updates frequently, it's open source and development is entirely detached from Windows beyond making sure it runs. That's fine for an optional add on CLI tool, but a complete deal breaker for making it a part of the core windows package.
ISE isn't as complicated. It exists in Windows simply because the effort of retiring it isn't worth it. It'll go when and if they finally can retire PS5.
2
u/dwhaley720 Aug 06 '26
Everyone bashing the OP for wanting an option to remove a feature. Lemme repeat... OPTION. At no point did they say "Microsoft must remove CMD and Powershell 5!!!!" God, redditors are dumb. I personally don't see any reason why we can't have the option to change all launch avenues of powershell to a specified version.
2
u/vip17 Apr 25 '26
No, DOS and cmd are very different despite having some similarities. Both are terrible though, that's why powershell is the new default
2
u/TofuBug40 Apr 25 '26
I get why this feels messy from the outside, however a lot of what you’re calling “duplicates” are actually solving completely different problems.
First, you’re grouping together things that aren’t the same category:
That distinction matters, because Terminal was never meant to replace shells.
It replaces the window you run them in. It’s more like a tabbed browser for command-line environments than a “new CMD.” we still need those separate command-line environments you didn't even list things like SSH or Bash for Git, or WinPy or any other but depending on what you do you might really love having say all the different ssh connection addresses as separate profiles for the network switches remote management for instance or a separate profile for different SCCM environments, etc, etc.
The bigger point: backward compatibility isn’t optional on Windows, it’s part of the product.
You can’t just remove:
And those aren’t edge cases. That’s production infrastructure across thousands of companies.
PowerShell 7 exists alongside 5.1 because:
So yeah, Microsoft could rip it all out... resulting in breaking an enormous probably incalculable amount of real-world systems overnight.
As for duplicates like x86 vs x64, that’s just Windows-on-Windows (WoW64). It’s there so 32-bit tools don’t explode on a 64-bit OS. Again, not pretty, but very intentional.
Where I do agree with you:
Those are UX problems, not architecture problems.
If anything, the real issue is that Windows exposes its compatibility layers too visibly. You’re seeing the scaffolding that keeps 30+ years of software working.
Other platforms solve this by breaking compatibility more aggressively. Windows solves it by… keeping everything.
1
u/Ok-Entrepreneur-5358 Apr 25 '26
command.com (IBM-Dos, MS-Dos) shell(s) are around (44-46) years
1
u/ViperThunder Apr 25 '26
It doesn't matter because you can launch any one of those from any other the other ones. Launched powershell5 or cmd on accident? Just type pwsh
I use the x86 ones because intune win32 apps deploy in 32 bit and so I have to test my scripts there.
There are also plenty of cmdlets that ONLY work in powershell5. And then there are modules that require pwsh7
1
u/Borgquite Apr 25 '26 edited Apr 25 '26
Backwards compatibility is why Windows still has 70-80% of the on-premises server market, and 60% of the desktop operating system market.
You may no longer use or want all of the legacy components, but large corporations absolutely do, and end users also get mad when stuff that relies on them breaks after the latest Windows update.
https://news.ycombinator.com/item?id=14202707
https://devblogs.microsoft.com/oldnewthing/20061106-01/?p=29123
1
u/dnuohxof-2 Apr 25 '26
My favorite is the complicated way of keeping PS7 up to date….
Oh, and ISE is not compatible with PS7 so there’s also that….
1
u/purplemonkeymad Apr 25 '26
You can remove ISE if you want:
and wsl:
WT*:
I don't think you can remove Windows-on-Windows though, so you are stuck with the 32bit version.
*Don't ask me how to re-install though, and i'm not going to test it.
1
u/overlydelicioustea Apr 25 '26 edited Apr 25 '26
your mixing things that arent the same.
the terminal is just that, its the thing that powershell outputs to. powershell doenst know how to draw a window and display characters on screen. terminal does. you can run dfferent interpreters on the terminal and interpreters can run in different shells.
also windows powershell has a lot more functionality compared to 7. lots and lots of cmdlets that dont exist in 7 becasue its the lowest common denominator between different OSes. powershell 5 is windows only and therefore has lots of cmdlets specifically tailored towards windows and its management.
If yopur not a poweruser and your on windows, theres basically no reason to use 7. with a few expections (notable parallel foreach processing (which comes with its own pitfalls and is not as straight forward as just adding -parallel to it and call it a day) and maybe no performance cost of adding to arrays with +=) 7 has no advantages in a windows environment.
cmd is ther for legacy reasons
you cant uninstall 5 becasue windows relies on it under the hood
1
u/laddyulike Apr 25 '26
PowerShell ≠ Windows PowerShell simples 👍😁
Try managing some Azure functionality from macOS with PowerShell and you will fail because they need core Windows dll files. I discovered this the hard way. I even contributed to some forums to discover this
1
u/19qhenry Apr 25 '26
ISE is purpose built and still is relevant today since it’s a scripting environment that comes preinstalled.
Everything else is there for backwards compatibility if something needs it, but all shells are available in Terminal. Plus you can make Terminal the default command line app.
1
u/ale624 Apr 25 '26
CMD isn't technically dos based. It changed to an NT based shell with windows XP (for consumers) It's compatible with DOS syntax and the built in commands are the same as DOS, but it's not technically DOS. So its only, what, 25-30 years old?
It's all about backwards compatibility. It's the one thing Microsoft does well. The fact you can run 30+ year old software on Windows 11 still and most of it just works fine is actually so bonkers.
Microsoft loves to back itself into a corner with long support windows. If it's a core part of the OS, it's almost certainly guaranteed to be in the next two OSes. Both with 10 years of support. If they ship something with the OS there is a solid chance it will have at least 20 years of full support from Microsoft. It's the main reason (as far as I can tell) powershell core is not preinstalled with the latest windows versions. They would have to support the version that shipped for 10 years minimum. Which they don't want to do since powershell core is on a ~2 year support cycle at the moment.
1
u/TinFoilHat_69 Apr 25 '26
I use 5.1 in vscode because everything will run it as a base if it does indeed execute properly, but always seem to run into escaping issues whenever I’m trying to shell into a Linux system to patch a file. Seems to be best to copy local read it, then make a python script that does the editing on the Linux machine. SCP file transfers work but Tailscale has its own command structure that doesn’t play nicely.
1
u/Over_Dingo Apr 25 '26
it doesn't ship with enough (7)
1
u/Sufficient_Duck_8051 Apr 25 '26
I don’t understand why new powershell versions are not included in windows patches but are completely separate. 25H2 should already be on 7.5 at least
1
u/Vietnamst2 Apr 25 '26
It does not. Si.ple as that. There's CMD for legacy compatibility and PS 5.1 preinstalled. ISE is just PS 5.1 with a code editor. Ps x86 is 5.1 in compatibility mode.
1
u/chaosphere_mk Apr 26 '26
Youre being dramatic. Windows powershell x86 still exists but I honestly have no idea why. 99.9% of people will never never need to use it. It only ships with windows powershell 5.1. You have to install powershell 7. Windows Terminal is just a way to launch all of your various CLIs.
It's not that complicated.
1
u/a_aniq Apr 30 '26
It's because they like making things confusing.
They could have one powershell with all the cross platform functions and some Windows specific functions. But no. They simply give a sorry ass excuse of compatibility when it's actually a problem of business prioritisation.
1
u/binaryhextechdude May 24 '26
I wish I had this issue. My org doesn’t allow me to use anything other than legacy 5.1
1
u/DragonspeedTheB Apr 25 '26
And ship with VSCODE if you’re deprecating ISE!
1
u/HumbleSpend8716 Apr 25 '26
wsl is not powershell
cmd is not powershell
ise is hardly powershell
powershell 5.1 is very important to the OS + its management, not ever going to go away for the same reason cmd won’t
0
u/SeptimiusBassianus Apr 26 '26
One for Indian team, one for Ireland. Where else do they have developers now days.
0
u/Nanocephalic Apr 26 '26
The real reason to have more than one thing is because you need more than one thing. You’re too inexperienced to understand this, and that’s OK.
And complaining about cmd.exe (also conflating it with command.com) just confirms your lack of experience. Are you like 25 or something?
0
u/CyberChevalier Apr 29 '26
Long story short
Windows PowerShell aka PowerShell 5.1 is built on MS dot net > 6 and therefore only work on windows
PowerShell ISE is a PowerShell script embed in an exe try to avoid it as the « gui » itself being a lot of artifact and code can work on ISE and not on console. Prefer Vs code wich can use all PowerShell versions
PowerShell aka Pwsh 7 is based on dot net Core which is compatible with other OS
Pwsh can start in MS PowerShell compatibility mode.
Therefore there are still a lot of Vendor who didn’t moved their CmdLet / snap in to dot net core. It’s why Microsoft still ship the 5.1
For CMD nobody knows only MS does
-1
u/mkbolivian Apr 25 '26
Stop searching the start menu for PowerShell. Install VSCode, set the defaults to your shell of choice, and ignore what you don’t need. Just open VSCode and go… or, if you prefer not to use that, set the default in Terminal to your shell of choice, and go…
0
u/[deleted] Apr 24 '26
[deleted] — view deleted comment
0
u/[deleted] Apr 25 '26
[deleted] — view deleted comment
6
u/[deleted] Apr 25 '26 edited Apr 25 '26
[removed] — view removed comment