News for hackers. Stuff that matters.
Re:PowerShell 7.0 by physicles on Wednesday March 04, 2020 @05:42PM (#22488954)
I’d only consider PowerShell when working with tech that is best managed through it, so stuff from Microsoft. It was great for the couple years I used it full time, even built a test runner that used .NET TCP classes to automate stuff through a telnet connection.

Now that I’m on Linux and doing open source stuff, I’d never consider using PS.

Re:PowerShell 7.0 by miohtama on Wednesday March 04, 2020 @05:44PM (#22488978)
I am not a PowerShell user, but now consider it based on the comments here. Why would you never run it on Linux?
Re:PowerShell 7.0 by physicles on Wednesday March 04, 2020 @10:58PM (#22490835)
For a few reasons:

- On Linux you have to learn bash anyway, because in the normal course of work you run across bash scripts everywhere.

- Everything on Linux is designed around the Unix philosophy and Unix tools, so PowerShell will feel out of place, and it'll be harder to find examples online. Also, Linux stuff is all configured via text files anyway, so PowerShell's object model is much less enticing.

- The shell's programming environment isn't that important because your scripts shouldn't be that long -- beyond 100 lines or so, you'd be way more productive using an actual programming language like Python instead.

I used PowerShell on Windows for 4-5 years professionally and it was great (finally ditching command.com was a revelation). Now, I've been using Linux, bash and stuff for about 3 years, and it's great. I guess I prefer the Linux environment because it feels tighter and faster.

Re:PowerShell 7.0 by ygra on Friday March 06, 2020 @06:30AM (#22502776)
I admire you using command.com that long. I haven't had a Windows machine where that would even run for years now.