title: Creating Tables in Powershell
body: <p>Guys I've got a script that queries services in remote computers.  It runs 2 nested foreach loops, 1 for the computer list and the internal one for the services list.  I want to capture the output of the process in a 2-dimensional array.</p>
  
  <pre><code>The desired output should be like this:
  
  Computer    Service   State   StartupMode
  -------------------------------------------
  data         data      data     data
  data         data      data     data
  data         data      data     data
  data         data      data     data
  </code></pre>
  
  <p>I already obtained the data and presented it on the console but have failed to store it in a multicolumn array.
  Hash tables can only accept 2 columns. </p>