News for hackers. Stuff that matters.
Re:Two Months with Powershell on a Unix by m0xte on Thursday April 23, 2020 @06:50PM (#22962485)
I’m not sure I could cope with that. I have enough problems with it on windows. Literally every corner you turn something punches you in the balls or turns to dust in your hands. It’s one of the most frustrating things I’ve ever used and I avoid it where I can.

I would not invite it onto a *nix machine voluntarily where there are established patterns and solutions which have matured over the space of 40 odd years now.

Re:Two Months with Powershell on a Unix by munchbunny on Thursday April 23, 2020 @07:44PM (#22962976)
Where does that happen for you?

In my experience with PowerShell on Windows, you have to approach it more like interactive python with shortcuts rather than a regular shell, and once you’re accustomed it works fine. The main issue is that it doesn’t work like a classic shell, it just has some affordances to look like a classic shell in common use cases.

Re:Two Months with Powershell on a Unix by m0xte on Friday April 24, 2020 @05:49AM (#22966304)
Well it’s not the concept but the implementation that is at fault. From persistent random WinRM failures, sudden things breaking and the whole thing wrapping rancid bits of WMI and COM which leak through regularly, it’s just pain. On top of that the interface is somewhat flakey and slow. Plus some of the semantics feel like going back to circa 1995 Perl. Oh and don’t get me started on the nightmare that is script signing and security which really does nothing useful other than get in the way.

It really feels immature.

The biggest travesty is when it is integrated into something else such as ansible, packer, chocolatey etc where it will cost you a couple of days occasionally due to some obscure issue hidden behind even more layers.

Re:Two Months with Powershell on a Unix by emodendroket on Thursday April 23, 2020 @08:12PM (#22963178)
It's weird but once you get used to it I think it's cool. No more text munging!
Re:Two Months with Powershell on a Unix by danudey on Thursday April 23, 2020 @08:01PM (#22963094)
Agreed; it's a lot more like a really weird iPython than it is a drop-in bourne shell replacement with quirks.
Re:Two Months with Powershell on a Unix by freddref on Thursday April 23, 2020 @10:00PM (#22963870)
Ya I use cygwin where I can, many of the reinventions don't improve usability.