Originally published at: http://www.howtogeek.com/163127/how-powershell-differs-from-the-windows-command-prompt/
You may have noticed a new command-line environment in Windows since Windows 7 — PowerShell. PowerShell is a much more powerful command-line shell and scripting language than the Command Prompt is, giving Windows system administrators a useful command-line environment.
Speaking of differences. @ChrisHoffman do you (or maybe @taygibb) know how to get PowerShell to use line selection instead of block selection? It drives me crazy. See picture
Also, one other annoyance I have is when I use the up arrow to scroll through history, I can't press down and get back to a blank line. Any idea how to make that work the way it does in bash? I often push up to a really long command and then have to backspace the whole thing (or ctrl+a del) just to blank out my line again. It's very annoying.
Can't you just press the Esc key to get rid of the current line?
See I knew there had to be a way.
Wonder why I never found that in searching for it.
More on PowerShell, video;
I think you'd have to use an alternate command window, because the default Command Prompt doesn't let you do line selection - drives me crazy too.
Quite possibly. I've never found a way to do this, but I admittedly haven't spent too much time with PowerShell. It's definitely annoying when I've used it.
Off topic, but interesting and PowerShell-related:
"These junior developers also have a tendency to make improvements to the system by implementing brand-new features instead of improving old ones. Look at recent Microsoft releases: we don't fix old features, but accrete new ones. New features help much more at review time than improvements to old ones.
(That's literally the explanation for PowerShell. Many of us wanted to improve cmd.exe, but couldn't.)"
-A Windows Kernel Developer
However, PowerShell isn’t like the Linux terminal — it’s a bit more complicated, ...
Sorry, I felt I should comment when I saw this. I'm sure the OP probably meant to say "complex" instead of "complicated". IMO, with Powershell it's easier to do more complex/powerful automation tasks by even inexperienced IT admins. That's actually, how it was intended to be.
Powershell is more complex than using something like Bash in a *nix terminal. However, it is much more powerful. Because in Powershell everything is an object (even strings, booleans, everything) with properties the capabilities of the language is far more advanced.
edit by mod- please no signatures
This topic is now closed. New replies are no longer allowed.