Re:PowerShell is open sourced and is available on Linux
by CodexArcanum on Thursday August 18, 2016 @12:07PM
(#12313652)
Yep! There's a few ways to accomplish such a thing, but probably the most straight forward would be the Foreach-Object command (aliased as "%") to do a mapping from source object to something else. Free form objects/dictionaries are easy to make and consume.
[ Parent
| on HN ]
Re:PowerShell is open sourced and is available on Linux
by new_hackers on Thursday August 18, 2016 @12:34PM
(#12313974)
Select-Object also makes it very, very easy to make new objects