title: Format-Table -GroupBy displaying array property on a single line
body: <p>I'm creating a custom object with two properties.  The first is a string, basically a key, and the second is the output of a function which returns an array.  I'm then piping the results into Format-Table and grouping by the string property.  What I'd like to see is each element of the array property on a separate row in the output.  Instead, Format-Table is displaying the array on a single row.</p>
  
  <p>Is there any way of formatting the output so each element of the array property is displayed on a separate row?</p>
  
  <p>Here's some code that illustrates the problem:</p>
  
  <pre><code>function Get-Result([string]$lookup)
  {
      if ($lookup -eq "first")
      {
          return @("one", "two")
      }
      else
      {
          return @("three")
      }
  }
  
  $a = "first", "second"
  
  $a | 
      Select-Object @{Name="LookupValue"; Expression={$_}}, `
          @{Name="Result"; Expression={Get-Result $_}} | 
      Format-Table -GroupBy LookupValue
  </code></pre>
  
  <p>And this is what it outputs:</p>
  
  <pre><code>   LookupValue: first
  
  LookupValue Result    
  ----------- ------    
  first       {one, two}
  
  
     LookupValue: second
  
  LookupValue Result
  ----------- ------
  second      three 
  </code></pre>
  
  <p>What I'd like to see is:</p>
  
  <pre><code>   LookupValue: first
  
  LookupValue Result    
  ----------- ------    
  first       one  
  first       two    
  
  
     LookupValue: second
  
  LookupValue Result
  ----------- ------
  second      three 
  </code></pre>