Share via

Differentiate between PoerShell Command and Command prompt

Anonymous
2016-04-07T00:01:35+00:00

good morning guys,

i hope that i'm asking this in the right area of this forum :-)

i have 2 questions please.

  1. does PowerShell command line is actually a Command Prompt with a MASSIVE MASSIVE changes and UPGRADES?

of course, they r two separate shells on windows system, and PowerShell is an Objective-Oriented and based on .NET (and known as CMDlets), and Command Prompt is a String-Based.

but bottom line what i want to know is: that the Command Prompt is like the "Father" of PowerShell? or the devs build the PowerShell, with no any connection to Command Prompt?

  1. why do we need two separate shells on Windows system? if PowerShell can do the same things that the Command Prompt can do, then why does Microsoft didn't kills the Command Prompt for good?

thanks u all

and good weekend :-)

Original title: PowerShell

Windows for home | Previous Windows versions | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

5 answers

Sort by: Most helpful
  1. Anonymous
    2016-04-08T13:21:26+00:00

    thank u for the reply Billion, i really appreciate that :-)

    but again...u gave an info that i already know :-)

    im a Network SysAdmin and Linux guy in years, i already know that :-)

    u missing the point behind my questions, so let me refine my questions again.

    1. when the devs have created the PowerShell for the 1st time, they based it on Command Prompt?

    they actually took the Command Prompt idea, and made him a drastic changes?

    or they have created the Powershell with no any connection to Command Prompt?

    2. why do we need two separate shells on Windows system? if PowerShell can do the same things that the Command Prompt can do, and more, then why does Microsoft didn't kills the Command Prompt for good?

    PS: my questions r not a technical questions about PowerShell as a tool and what he can do, my question r more at the developing side.

    what the devs did, when they created the PowerShell for the 1st time? from where they took the base, from Command Prompt?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2016-04-07T10:29:55+00:00

    good morning guys,

    i hope that i'm asking this in the right area of this forum :-)

    i have 2 questions please.

    1. does PowerShell command line is actually a Command Prompt with a MASSIVE MASSIVE changes and UPGRADES?

    of course, they r two separate shells on windows system, and PowerShell is an Objective-Oriented and based on .NET (and known as CMDlets), and Command Prompt is a String-Based.

    but bottom line what i want to know is: that the Command Prompt is like the "Father" of PowerShell? or the devs build the PowerShell, with no any connection to Command Prompt?

    1. why do we need two separate shells on Windows system? if PowerShell can do the same things that the Command Prompt can do, then why does Microsoft didn't kills the Command Prompt for good?

    thank u all

    and good weekend :-)

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2016-04-08T11:49:44+00:00

    Hi,

    Please be inform that Windows PowerShell is usually used by professionals and expert, whereas Command prompt is for limited users.

    PowerShell is actually very different from the Command Prompt. It uses different commands, known as cmdlets in PowerShell. Many system administration tasks — from managing the registry to WMI (Windows Management Instrumentation) — are exposed via PowerShell cmdlets, while they aren’t accessible from the Command Prompt. It isn’t just a shell you use. It’s a powerful scripting environment that can be used to create complex scripts for managing Windows systems much more easily than you could with the Command Prompt.

    The Command Prompt is essentially just a legacy environment carried forward in Windows — an environment that copies all of the various DOS commands you would find on a DOS system. It is painfully limited, can’t access many Windows system administration features, is more difficult to compose complex scripts with, and so on. PowerShell is a new environment for Windows system administrators that allows them to use a more modern command-line environment to manage Windows.

    For reference click on the link:

    https://social.technet.microsoft.com/Forums/windows/en-US/f94c9dfb-20de-485d-9093-1f7a154ac4c4/what-is-the-difference-between-the-command-prompt-and-windows-powershell?forum=w7itproperf 

    Thanks.

    0 comments No comments
  4. Anonymous
    2016-04-07T22:28:48+00:00

    Hii Billion,

    thank u for the reply.

    but...all the info that u gave me up here, i'm already know that :-)

    actually, u missed my questions.

    0 comments No comments
  5. Anonymous
    2016-04-07T18:06:53+00:00

    Hi Cohen, 

    Welcome to Microsoft Community.

    Let’s see how I can help you today.

    Based in your information, I would like to inform you that PowerShell command is a scripting language which let you manage the computers from the command line. Windows PowerShell providers let you access data stores, such as the registry and certificate store, as easily as you access the file system. In addition, Windows PowerShell has a rich expression parser and a fully developed scripting language. Where as Command Prompt helps you type and run MS‑DOS (Microsoft Disk Operating System) commands and other computer commands. By typing commands, you can perform tasks on your PC without using a mouse or touch. Command Prompt is typically only used by advanced users.

    Hope this information is helpful for you. If you need further assistance on windows let us know, we will be glad to help you.

    0 comments No comments