r/PowerShell • • 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.

165 Upvotes

177 comments sorted by

View all comments

Show parent comment

2

u/_RemyLeBeau_ Apr 25 '26

If your shell takes 5 seconds to start, you should look into why your profile script is taking so long.

If you still have a 5 second startup time for your shell after analyzing your profile script, take your machine to a qualified professional for diagnosis. 

1

u/ka-splam Apr 25 '26

When I'm remoting onto a customer server, there are no profile scripts.

And I'm not imagining it. This is for replies like yours, from Casey Muratori, 6 years ago actually about Visual Studio startup time: https://youtu.be/GC-0tCy4P1U

"So when you ask me how long should my [program] take to load? NO TIME. Zero seconds!"

It's taking 5 seconds to start because instead of calling a Win32 "show window" function from 1994, it's chuntering the .NET framework runtime into life, digging around in the global assembly cache, poking the registered antivirus engines, checking SmartScreen with Microsoft HQ, checking Windows script audit logging, checking execution policies and profile script digital signatures, looking in all the folders where profile scripts might be, locking up while it digs around for auto-importing modules for autocomplete, and doing most of that same for the UWP Terminal.

And through all this, command prompt remains instant. For all command line things which can be done without PowerShell.

2

u/_RemyLeBeau_ Apr 25 '26

PowerShell doesn't take 5 seconds to open on any OS I've ever used it on. From XP to 11, from Kali to Fedora.

1

u/ka-splam Apr 25 '26

Imagine if you weren't focusing on the upper limit of the range, and were instead boggling that an 8-billion operation per second computer takes any noticeable time to show "PS C:>" and read from the keyboard.

Here's a Reddit thread link "New $4k PC .. Right out of the box, Windows Terminal takes 7-10 seconds to start up every time (2 seconds for app + 5-8 seconds for powershell 5)".

Here's another link "up to a minute", not modules or profile.

Here's another link 10 seconds to load, somehow because of Windows Terminal.

Here's an issue for AWS Lambda link because Python and Java startup and run in <0.03 seconds and C# takes 0.085 seconds. And someone commenting "When a C# function first starts ups from the cold, it can take up to a few hundred milliseconds (in my case it's 500ms).". PowerShell is written in C#, that puts a lower bound for startup at whatever dotnet can do.

"for the warm response time there really isn't much point optimising: the generally acceptable human response time is 200ms" that person says. That's 5 fps. Nobody would accept 5fps from an interactive game.

Here's a Github issue for PowerShell taking 6-10 seconds to start: link because it's checking online for the "Update to new version" notification.

Here's someone with PowerShell taking over a minute, with no profile and 4 modules: link with no resolution.

Here's someone on StackOverflow with a keyboard shortcut to a PowerShell script to change screen brightness which takes 5 seconds to change the screen brightness: link with the only resolution being to use something else.

Here's 10+ seconds: link because of UAC.

Here's 20+ seconds: link because of PowerShell trying to access disconnected network drives.

Here's a PowerShell jobs being slow: link where the comments say "Starting up a powershell window takes long time in my machine" and "Powershell starts in less than 3 sec for me" with no explanation.

3

u/BlackV Apr 25 '26

my dirty maths

$WPSResult = 1..100 | foreach-object {Measure-Command -Expression {powershell -executionpolicy bypass -command exit}} | Measure-Object -Average -Property milliseconds
$CMDResult = 1..100 | foreach-object {Measure-Command -Expression {cmd /c exit}} | Measure-Object -Average -Property milliseconds
$PWSHResult = 1..100 | foreach-object {Measure-Command -Expression {pwsh -executionpolicy bypass -command exit}} | Measure-Object -Average -Property milliseconds

$WPSResult;$PWSHResult;$CMDResult


Count    : 100
Average  : 182.08
Property : Milliseconds
Label    : Powershell

Count    : 100
Average  : 285
Property : Milliseconds
Label    : pwsh

Count    : 100
Average  : 5.75
Property : Milliseconds
Label    : cmd

1

u/ka-splam Apr 26 '26

Written a decade or more later, in a newer programming language, with newer dev tooling and profiling tooling available, with the opportunity to target newer and more powerful hardware, pwsh takes 57x longer to show you a prompt than cmd.

On mine, PowerShell 598ms, pwsh 809ms, cmd 27ms. 30x longer for pwsh.

(This isn't about whether PowerShell can do more than cmd; it's just starting up, it isn't doing anything).

2

u/BlackV Apr 26 '26

Ya, I'm fine with the time myself

in fact I have the setting in windows terminal that starts it with the os/at login, so I never don't have a terminal open (even on my management servers)

Which basically means I never "see" the shell startup time

0

u/_RemyLeBeau_ Apr 26 '26

Don't hurt them with data

0

u/ka-splam Apr 26 '26

The data that pwsh takes 57x longer to show PS C:\> doesn't hurt me, it supports me.