News for hackers. Stuff that matters.
Re:Linux Bash vs. Windows PowerShell by BiteCode_dev on Sunday April 12, 2020 @10:48AM (#22848581)
If you need crossplatform scripting and will install a runtime, why go powershell or bash ? Something like ruby or python seems more adpated.
Re:Linux Bash vs. Windows PowerShell by majkinetor on Sunday April 12, 2020 @11:38AM (#22848890)
Its designed for shell usage, python, ruby and friends don't feel "native" in that manner and are simply akward for many cases by missing most improtant thing - pipeline. People use them because bash suck and because they want to be full stack.

Besides, Powershell comes with OS.

Re:Linux Bash vs. Windows PowerShell by BiteCode_dev on Sunday April 12, 2020 @11:50AM (#22848981)
Keyword is "crossplatform"
Re:Linux Bash vs. Windows PowerShell by death-by-ppt on Sunday April 12, 2020 @12:36PM (#22849303)
PowerShell Core is cross-platform. It runs on Mac, Linux and Windows.
Re:Linux Bash vs. Windows PowerShell by BiteCode_dev on Sunday April 12, 2020 @01:18PM (#22849589)
Not the point.

Check other comments about ps on unix.

Re:Linux Bash vs. Windows PowerShell by vedipen on Sunday April 12, 2020 @11:04AM (#22848678)
Powershell is more for administrative automation
Re:Linux Bash vs. Windows PowerShell by BiteCode_dev on Sunday April 12, 2020 @11:09AM (#22848713)
Same, unless you are on windows only, ps has no benefit.

The selling point of ps is the piping of objects. Mac and linux api don't output those.

Re:Linux Bash vs. Windows PowerShell by death-by-ppt on Sunday April 12, 2020 @12:43PM (#22849354)
PowerShell is built on top of .Net Core, which is also cross-platform.

It does pipe objects on all 3 platforms.

Re:Linux Bash vs. Windows PowerShell by BiteCode_dev on Sunday April 12, 2020 @01:18PM (#22849596)
Not the point. No unix api does.