title: Getting "System.Collections.Generic.List`1[System.String]" in CSV File export when data is okay on screen
body: <p>I am new to PowerShell and trying to get a list of VM names and their associated IP Addresses from within Hyper-V.</p>
  
  <p>I am getting the information fine on the screen but when I try to export to csv all I get for the IP Addresses is "System.Collections.Generic.List`1[System.String]" on each line.</p>
  
  <p>There are suggestions about "joins" or "ConvertTo-CSV" but I don't understand the syntax for these.</p>
  
  <p>Can anyone help?</p>
  
  <p>This is the syntax I am using...</p>
  
  <pre><code>Get-VM | Select -ExpandProperty VirtualNetworkAdapters | select name, IPV4Addresses | Export-Csv -Path "c:\Temp\VMIPs.csv"
  </code></pre>