Terminal, Command Prompt and PowerShell in Windows 11

NndnG 1,126 Reputation points
2023-03-15T19:11:34.8833333+00:00

Hi,

Windows 11 22H2 (OS Build 22621.1413) is installed.

Terminal, Command Prompt and PowerShell; all are in Windows 11.

Please let me know, how all three are different to each other?

What are limitations of one, in comparison of, another?

With Regards

NndnG

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,746 Reputation points
    2023-03-16T14:59:00.4933333+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having query\issues related to Terminal, Command Prompt and PowerShell.

    When using them, PowerShell and the CMD prompt were both utilised. While PowerShell can be used for administrative tasks as well as batch command execution, Cmd is mostly used for batch command execution and basic troubleshooting.

    With the release of Windows 10 in 2019, Microsoft unveiled Windows Terminal, a terminal operator that supports practically any command-line shell. The command-line utility that the community has long coveted about Linux is brought to Windows via the programme, which is what makes it notable: BASH

    Reference :

    https://learn.microsoft.com/en-us/windows/terminal/

    https://support.microsoft.com/en-us/windows/command-prompt-and-windows-powershell-for-windows-11-6453ce98-da91-476f-8651-5c14d5777c20

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  2. NndnG 1,126 Reputation points
    2023-03-16T19:15:25.0833333+00:00

    Thank you for replying and giving time for resolving my question.

    As per my knowledge, in comparison of Terminal and Command Prompt; PowerShell commands and scrips are completely different.

    And sometimes I noticed one command gets executed in both; Command Prompt and Terminal.

    Moreover, you said, Linux is brought to Windows via the programme

    Does it mean, Linus commands or scripts can also be executed in Terminal?

    Second, please let me know, which type of command or script are specific to Command Prompt, PowerShell and Terminal?

    I mean, for example, all commands executable in Command Prompt will be executable in Terminal and PowerShell also.

    Similarly let me know, specific type of commands for specific platform.

    WIth Regards

    NndnG

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.