Copper Contributor
Ich hab da eine Frage:
Mein IT-Dozent ist der Meinung, dass die Powershell auf der alten MS-DOS-Shell basiert.
Wenn ich mich aber recht erinnere sind die Powershell und die DOS-Shell doch zwei unterschiedliche Systeme
1 Reply

Hi @Stephan700 


DOS is a command line interface which is used as a standalone OS. Or it can be used in another Operating System like Command Prompt in Windows. Today, DOS’s main functions in Windows is to run scripts and to carry out system tasks when the tasks are not possible to complete by using graphical user interface.


cmd.exe, it’s a windows program that issues commands to the system like file management commands such as copy, paste, and delete. It emulates most of the command line abilities available in MS-DOS through a command line interface. It was initially released as the command line interpreter (CLI) for the Windows NT family of operating systems and was developed by Therese Stowell.


PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language. Initially a Windows component only, known as Windows PowerShell, it was made open-source and cross-platform on 18 August 2016 with the introduction of PowerShell Core.[5] The former is built on .NET Framework while the latter on .NET Core.





So to wrap it up:

  1. DOS was an standalone text based OS.
  2. CMD or Command Prompt is a Windows program that emulates DOS commands and talk directly to system.
  3. Powershell is a framework built on .NET and .NET Core Framework, for automation, configuration management and more.