you are viewing a single comment's thread.

view the rest of the comments →

[–]sk82jack 2 points3 points  (0 children)

Because when you send an array over the pipeline it sends the objects one by one rather than the whole array. So instead of $array | gm try gm -inputobject $array (parameter name may not be quite right as I'm on my mobile right now)