www.quora.com/What-is-the-difference-between-CMD-and-Powershell
1 Users
0 Comments
25 Highlights
0 Notes
Tags
Top Highlights
Not originally available for Linux etc.
give you way to automate tasks by writing a script/batch file.
But PowerShell is a lot more than that.
a very rich set of commands
cmdlets
most of Microsoft products.
it's collection of objects.
like its name or memory consumption.
In cmd you'd have to parse the output.
its integration with .NET
integrate the powershell runtime into .NET applications
PSH can create .NET objects on the shell
allow the user to interact with them.
using COM automation.
take a CSV file, dump it into Excel, reformat it
new and vastly improved shell and programming language
define general purpose variables, assign those values, and to use modern control structures.
while PowerShell has excellent control flow structures.
doing directly AND it can call CMD for anything that isn’t available directly.
but calling any other pre-existing or new program as an external extension to its own functionality.
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.