Difference between windows command prompt and Powershell

Submitted by Divya on Oct 14, 2012 - 18:10

What is the difference between windows Command Prompt and Windows Powershell?

Forums

Karthik
Oct 17, 2012 - 07:56

Command Prompt

Command Prompt
Command-line interpreter on OS/2, Windows CE and on Windows NT-based operating systems
Executable name cmd.exe
Default background : Black
It is a native Windows application usually running in Win32 console.
A text file containing a series of commands to be executed is called as Batch files (.bat extension)

Windows PowerShell
Microsoft's task automation framework, consisting of a command-line shell and associated scripting language
Executable name powershell.exe
Default background : Blue
Integrated with the .NET Framework
A text file containing a series of commands to be executed is called as cmdlets (Command lets) (.ps1 extension)