Microsoft provides both powershell and terminal in windows 11 so is there any major difference between them? #23706
Replies: 2 comments 2 replies
-
Windows Terminal is a terminal, it's not a scripting engine. Windows Terminal is the gateway to PowerShell, CMD, Azure cloud shell, WSL subsystem etc. So they aren't even comparable. |
Beta Was this translation helpful? Give feedback.
-
Terminal is a GUI application that emulates a traditional terminal in a Window. All it can do is print text and accept key presses. It has no behaviour in itself over what should be printed in the window. What it does is run console applications as child processes to provide that, eg PowerShell, the Command prompt or anything else you choose to select or configure. PowerShell is a console application (eg character mode app, not GUI), that accepts input in the form of key presses and prints output. It can be hosted by Windows Terminal, by the original classic console window, launched by SSHD or run with no console at all. PowerShell itself does not need to concern itself over moving windows etc, it gets on with the job of running scripts and commands, and responding to the users input. PowerShell can be run on a computer with no GUI at all. So they are completely different things but work well together, and a common configuration is for Windows Terminal to default to running PowerShell to provide the content for the window. |
Beta Was this translation helpful? Give feedback.
-
Both have similar usecase according to me so what are major differences between them usecase and if no major difference then why are there two almost same thing in one os?
Beta Was this translation helpful? Give feedback.
All reactions