Why Microsoft open sourced PowerShell and ported it to Linux

a year ago by StrawberryPigtails to c/linux

You can already test PowerShell in Ubuntu, Debian and CentOSrn

In the comments section of a recent post I found out that Windows PowerShell had been ported to Linux. Had no clue it was a thing.

Went looking and found this old article attempting to explain why they did it. Not remotely interested in giving up Bash for PowerShell, but I thought it was interesting enough to share. The article seems to be from 2016.

I have never been more tempted to check the NSFW box, but I'll leave it open for now unless a mod complains. :-D

load all comments
Irelephant 37 points a year ago

Powershell is annoyingly good though.

path: 0 17338457, hotness: undefined, score: 37, children: 55
possiblylinux127 18 points a year ago

I wouldn't go that far

path: 0 17338457 17344840, hotness: undefined, score: 18, children: 12
Irelephant 12 points a year ago

As much as I hate windows powershell is actually decent.

path: 0 17338457 17344840 17345136, hotness: undefined, score: 12, children: 11
dustyData 6 points a year ago

The problem is that on Linux it competes with bash and dozens of way better terminals.

path: 0 17338457 17344840 17345136 17347019, hotness: undefined, score: 6, children: 10
lazynooblet 5 points a year ago

I've been a Linux sysadmin for decades and Windows for the year 8 years or so. I started using Windows with an air of contempt, and still do. I hate myself for saying this, but Powershell is better than bash. Bash is very limited if you consider only bash. For bash to be useful you need the entire GNU suite with grep, cut, awk etc.

path: 0 17338457 17344840 17345136 17347019 17347505, hotness: undefined, score: 5, children: 7
porl 12 points a year ago

But that's almost never how a system is configured. The entire point is that bash, zsh, fish etc. can make use of those utilities. You don't need bash trying to reinvent everything. You don't want that. That's why changing shells is generally painless and a strength, not a weakness.

path: 0 17338457 17344840 17345136 17347019 17347505 17352322, hotness: undefined, score: 12, children: 1
Irelephant 0 points a year ago

But on windows it makes sense to have the stuff built in, because those utilities are not on windows.

path: 0 17338457 17344840 17345136 17347019 17347505 17352322 17363299, hotness: undefined, score: 0, children: 0
linux
linux

@programming.dev

login for more options
14079
4837
3581

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

go to feed...