title: Merging txt files as columns into csv with powershell
body: <p>Sorry if this question has already been asked, but I can't for the life of me find a valid answer.</p>
  
  <p>I have a bunch of .txt files each containing a column of content. I would like to merge them in one .csv where the columns will be next to each other.</p>
  
  <p>So if the first input in1.txt is:</p>
  
  <pre><code>banana
  pear
  apple
  orange
  </code></pre>
  
  <p>and the second one, in2.txt is</p>
  
  <pre><code>airplane
  truck
  car
  bus
  </code></pre>
  
  <p>I would like the resulting csv, say out.csv, to be:</p>
  
  <pre><code>banana,airplane
  pear,truck
  apple,car
  orange,bus
  </code></pre>
  
  <p>Is there a way to do that with Powershell? </p>