+ 8

Is there any difference between Windows PowerShell and Command Prompt in windows?

If yes, then how because both seems to have similar functions

17th Apr 2017, 12:13 PM
Siddharth Saraf
1 Odpowiedź
+ 5
PowerShell is a configuration management scripting framework and it consists at the same time of a command-line interface (like the Command Prompt) and a .NET coding object-oriented language. Like the Command Prompt you can use PowerShell for task automation but the latter is absolutely more powerful (for instance, it supports pipeline and API hosting). However, almost all the commands provided by classic MS DOS CLI are supported via proper aliases in PowerShell too (for example cmdlet "Get-ChildItem" has an equivalent alias names "Dir"). Finally, starting from August 2016, PowerShell has become open source and cross platform, so it is no longer confined to Windows OS.
17th Apr 2017, 1:20 PM
Davide Corbelletto
Davide Corbelletto - avatar