title: Multiple arrays not outputting headers
body: <p>I have several sets of results from running <code>Compare-Object</code> on files.  I want to output these to the console.  When I try to write them to the console I get one set of headers, and it visually puts everything from all successive sets in the same table.</p>
  
  <p>Is there a way to modify my script so that it outputs headers for each separate result set?</p>
  
  <p>Currently I am doing something like this:</p>
  
  
  
  <pre class="lang-powershell prettyprint-override"><code>ForEach ($result in $results) {
    $result
  }
  </code></pre>
  
  <hr>
  
  <p>In the above, <code>$results</code> is an array of the results from <code>Compare-Object</code>.  That means that each <code>$result</code> is itself an array.  I want the output of each <code>$result</code> to have its own set of headers.</p>