Re:PowerShell is open sourced and is available on Linux
by ksk on Thursday August 18, 2016 @03:05PM
(#12315427)
That doesn't work either.
You guys are just proving my point. _I_ already know how to do it using bash. Its just that using objects and querying properties is far simpler. And I just took a random example because its a common thing that someone would want to do.
[ Parent
| on HN ]
Re:PowerShell is open sourced and is available on Linux
by brazzledazzle on Thursday August 18, 2016 @06:55PM
(#12316876)
You really couldn't have asked for a better chain to demonstrate the validity of your point. Having been blinded by my own world view and biases in the past I sympathize with them but this is too funny not to have a little laugh at their expense.
Re:PowerShell is open sourced and is available on Linux
by kondor6c on Thursday August 18, 2016 @10:04PM
(#12317539)
I think what others might be demonstrated is that there isn't a reliance on what object Microsoft decides to ship to you, in *nix we can combine commands and builtins and get the information in the structure we need without having to wait 8 months for a system reboot (or worse a paid for upgrade) that will give us what we need.
Re:PowerShell is open sourced and is available on Linux
by 59nadir on Friday August 19, 2016 @01:28AM
(#12318134)
Well, to be fair, what was demonstrated here was that people didn't actually extract the data after multiple edits and tries, regardless of what tools they had at their disposal.
I think the idea of an object pipeline is sound for precisely this reason, but I don't think it should be connected to any one language or platform.
Re:PowerShell is open sourced and is available on Linux
by ksk on Friday August 19, 2016 @11:38AM
(#12320797)
First of all you are incorrect in your assumptions. You are reliant on the author of the tool in both cases. Just as there is no "UNIX Person" who decrees that all executables on UNIX must output text, there are vendors other than Microsoft who write software for Windows. You can write one too, it takes about 5 minutes to expose a powershell interface. And I'm not even a .NET developer. I write embedded software for a living.