What is the difference between command prompt and powershell in Windows? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the difference between command prompt and powershell in Windows?

what is the difference between command prompt and powershell in Windows? In both the cases we can use the command. But what are the differences between the two? How command prompt is different from powershell in Windows?

31st Aug 2017, 3:07 PM
TAR
TAR - avatar
2 Answers
+ 3
They are both used to run external programs like ping or copy, and give you way to automate tasks by writing a script/batch file. But PowerShell is a lot more than that. First of all it provides a very rich set of commands (calleds cmdlets) that integrate deeply with windows and most of Microsoft products. -- Google :)
31st Aug 2017, 3:13 PM
Samantha Jordan
Samantha Jordan - avatar
+ 2
Also, if you want a friendly version there is this article: https://www.howtogeek.com/163127/how-powershell-differs-from-the-windows-command-prompt/
31st Aug 2017, 3:17 PM
Samantha Jordan
Samantha Jordan - avatar