Linked by Thom Holwerda on Thu 25th Jan 2007 00:43 UTC
Microsoft "Once upon a time, when DOS walked the earth, the command line was the primary user interface for most of our computers. Then, Windows came along, and Microsoft seemed set on leaving the command prompt to dry up and wither into obscurity. Fortunately, Microsoft has again turned its attention to the command line and, in so doing, has produced one of the most compelling new Windows features eWEEK Labs has ever had the pleasure to test: Windows PowerShell."
Thread beginning with comment 205492
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Complicated
by Cass on Thu 25th Jan 2007 01:50 UTC in reply to "Complicated"
Cass
Member since:
2006-03-17

Yeah, it reads to be very complicated, i found myself thinking why not just use cygwin whilst reading the article. To be honest i lost interest when

"When you pipe the output of this cmdlet, called Get-ChildItem, to the cmdlet Sort-Object,"

was mentioned, MS should just cut to the chase and impliment a proper unix (like?) shell without all the seemingly BS layers like what was written. Who needs the shell to work magic for us when the tried and tested

ls -lrt

can do what we need, without all the leg bone connects to the knee bone crud ...

man ls and man sort are your friends .... ohh sorry i assume not with this tool, for this its probably, start --> help --> search for text --> "powershell sort by file size"

Reply Parent Score: 5

RE[2]: Complicated
by backdoc on Thu 25th Jan 2007 03:39 in reply to "RE: Complicated"
backdoc Member since:
2006-01-14

I tend to agree with you. To me, the basic DOS syntax gets me by. Don't get me wrong, I like Unix shells like bash and csh much better. But, I don't get annoyed as much having to type copy instead of cp or dir instead of ls. I can live with that. But, if I want or need some elaborate OO code, I can use Python or C# or something made for writing powerful applications. What I miss are things associated with basic conveniences like:

o hitting tab twice to show more suggestions
o tabs on the command window itself
o up arrow history that can filter based on the few characters you type
o history that #1, works and #2 isn't forgotten between sessions
o includes apps like grep, sort, uniq, cut, sed and awk by default

I should elaborate to say that if MS will just make things less annoying, I will be happy. We have Vista at work. In fact, we have every new MS app at work. And, I have absolutely no interest in installing them. I could, but I'm just not excited by all of the hype.

Edited 2007-01-25 03:42

Reply Parent Score: 3

RE[2]: Complicated
by MollyC on Thu 25th Jan 2007 04:43 in reply to "RE: Complicated"
MollyC Member since:
2006-07-04

PowerShell has aliases for lots of unix commands like ls.

Reply Parent Score: 2

RE[3]: Complicated
by backdoc on Thu 25th Jan 2007 12:31 in reply to "RE[2]: Complicated"
backdoc Member since:
2006-01-14

That's cool. Someone else here mentioned that it accepts forward or backward slashes, too. For me, that will be great. I hate having to type backward slashes on MS. For people starting out, they may get very confused as to which way is the right way. But, you can't blame MS for not switching cold turkey. That would break a lot of things. These are things that I look forward to discovering.

Reply Parent Score: 1

RE[2]: Complicated
by axilmar on Thu 25th Jan 2007 14:17 in reply to "RE: Complicated"
axilmar Member since:
2006-03-20

The purpose of the PowerShell is to allow difficult tasks to be easily coded as scripts. It gives access to .NET, and therefore it can be used for programming scripts, .NET applications, and all kinds of difficult to perform tasks.

Reply Parent Score: 1

RE[3]: Complicated
by nutshell42 on Thu 25th Jan 2007 15:10 in reply to "RE[2]: Complicated"
nutshell42 Member since:
2006-01-12

Then they should have called it PowerScript or MS Visual ADVANCED or something.

But they called it PowerShell and it's quite shitty at that job. For 40MB of memory out of the box you get a shell that's overly complicated and less suited for many shell tasks than bash (or even cmd.exe).

It's great that MS finally made its own Perl/Python/Ruby clone to satisfy their NIH syndrome but in the meanwhile we're still waiting for a powerful shell for Windows without all the jumping-through-loops involved in using cygwin.

Edited 2007-01-25 15:10

Reply Parent Score: 4