Comment

Comment by chris_wot

It doesn't matter what Powershell does and doesn't do. People aren't going to learn yet another shell scripting language just because someone at Microsoft wanted to get promoted and rolled a new one.

I'm a bit of a bash scripting nut, but I've recently had to do some Windows administration via Powershell and actually it's pretty awesome!

I want Windows shell to look like UNIX, to be scriptable exactly the same, and to have a proper SSH remote login.

So install Cygwin.

Apple managed to do this with OS X.

OS X uses a Unix shell. Most of it is based on Unix principles. It wasn't that hard!

Microsoft is denying the reality and substituting it with their own.

Really? It still uses pipes and redirection, has command history and tab completion. You can alias commands, but Powershell has functions which allow for parameters.

The thing is - Powershell is, somewhat surprisingly, more powerful in many ways than bash, especially around variable handling. I'd be pretty happy if it was ported to Linux, which I'm actually rather surprised about!

parent chris_wot 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton