News for hackers. Stuff that matters.
Re:PowerShell is open sourced and is available on Linux by mhurron on Thursday August 18, 2016 @01:11PM (#12314368)
> Once you've piped strongly-typed objects around between your shell commands, text scraping seems barbaric by comparison

This is why Powershell is a great thing on Windows. Windows works with .Net objects and Powershell works directly with those objects.

It's also why I don't see the reason to be excited that it can run on OS X and Linux now, because neither of those systems work by passing .Net objects around. You parse text with bash/sed/awk/perl/python ... because *NIX works on text based config files and commands that output text.

Re:PowerShell is open sourced and is available on Linux by ygra on Thursday August 18, 2016 @02:31PM (#12315143)
> Windows works with .Net objects and Powershell works directly with those objects.

I'd say COM, WMI, and the registry are more prominent parts of Windows itself than .NET is. However, PowerShell seamlessly works with those as well.

Re:PowerShell is open sourced and is available on Linux by jdmichal on Thursday August 18, 2016 @02:40PM (#12315223)
I'm assuming that the Powershell port includes some subset of the standard cmdlets, which will handle serializing to and from objects.
Re:PowerShell is open sourced and is available on Linux by mhurron on Thursday August 18, 2016 @03:21PM (#12315579)
A subset means it doesn't work as well or the same way.
Re:PowerShell is open sourced and is available on Linux by jdmichal on Thursday August 18, 2016 @06:28PM (#12316765)
No... It just means that all features may not be available. It makes no comments on how well the existing features work and how compatible they are with the Windows version.

I mean, `Get-ComputerRestorePoint` and `Get-WmiObject` don't mean anything on Linux. I assume those won't be ported. `Get-Process` is certainly meaningful; I assume that will be. The ports might also have cmdlets not available on Windows. I could certainly see cmdlets to interact with `apt` in Ubuntu, or `yum` in RHEL. Especially since PowerShell is focused on provisioning and managing machines.