title: How can I "zip" two arrays in PowerShell?
body: <p>I want to zip two arrays, like <a href="http://ruby-doc.org/core-2.4.1/Array.html#method-i-zip" rel="noreferrer">how Ruby does it</a>, but in PowerShell. Here's a hypothetical operator (I know we're probably talking about some kind of goofy pipeline, but I just wanted to show an example output).</p>
  
  <pre><code>PS&gt; @(1, 2, 3) -zip @('A', 'B', 'C')
  @(@(1, 'A'), @(2, 'B'), @(3, 'C'))
  </code></pre>