Power$nippets

Boost your shell with reusable code stripped to its essentials

Join-Object

Wouldn’t it be nice if you join two object arrays just like you join tables in SQL. A common task where would already be useful is updating a stored object list with a newly retrieved one. I am convinced that a Join-Object cmdlet would be used very often if was provided as a standard cmdlet. Unfortunately due to the overhead and uncertainly of a homemade cmdlet everybody tries to build their own specific implementation dealing with the related complexity and performance.

The Join-Object cmdlet was originally published at StackOverflow

Last updated on 29 Jun 2020
Published on 6 Nov 2017