howtogeek at May 13th, 2013 04:06 — #1
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.
rothgar at May 14th, 2013 02:37 — #2
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.
geek at May 14th, 2013 09:01 — #3
Can't you just press the Esc key to get rid of the current line?
rothgar at May 14th, 2013 09:35 — #4
See I knew there had to be a way.
Wonder why I never found that in searching for it.
vistamike at May 14th, 2013 09:44 — #5
More on PowerShell, video;
geek at May 14th, 2013 09:46 — #6
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.
chrishoffman at May 15th, 2013 06:44 — #7
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
mkanet at October 3rd, 2013 00:46 — #8
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.
adbertram at November 25th, 2013 22:38 — #9
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
geek at December 13th, 2013 10:49 — #10
This topic is now closed. New replies are no longer allowed.