title: PowerShell write-output missing information - prints only 1st object
body: <p>1.ps1 has 2 objects created and printed. But only one show up in the output. 
  Both objects show up in the following cases:<br>
  (1) write-output is done with Format-List<br>
  (2) object1 has more than 4 properties (and so it gets vertically formatted automatically)<br>
  Trying to understand the reasoning behind this behaviour.</p>
  
  <pre><code>PS C:\&gt; cat .\1.ps1
  $object1 = New-Object PSObject
  $object1 | add-member NoteProperty -name pn1 -value pv1
  $object1 | add-member NoteProperty -name pn2 -value pv2
  $object1 | add-member NoteProperty -name pn3 -value pv3
  write-output $object1
  
  $object2 = New-Object PSObject
  $object2 | add-member NoteProperty -name npn1 -value npv1
  $object2 | add-member NoteProperty -name npn2 -value npv2
  $object2 | add-member NoteProperty -name npn3 -value npv3
  $object2 | add-member NoteProperty -name npn4 -value npv4
  $object2 | add-member NoteProperty -name npn5 -value npv5
  $object2 | add-member NoteProperty -name npn6 -value npv6
  write-output $object2
  PS C:\&gt;
  PS C:\&gt; .\1.ps1
  
  pn1                                     pn2                                     pn3
  ---                                     ---                                     ---
  pv1                                     pv2                                     pv3
  
  
  PS C:\&gt;
  </code></pre>