title: How to export array to csv in powershell?
body: <pre><code>$x1 = (1,22,333,4444)
  $x1 | export-csv 'd:\123.csv' -Force
  </code></pre>
  
  <p>Then I get this:</p>
  
  <p><a href="https://i.stack.imgur.com/1uKiL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1uKiL.png" alt="enter image description here"></a></p>
  
  <p>How do I Get a table like this?:</p>
  
  <p><a href="https://i.stack.imgur.com/qyfbg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qyfbg.png" alt="enter image description here"></a></p>