title: Export-CSV exports length but not name
body: <p>I have this code that I am running from powershell. When I run it without the export-csv i get all the folder names on the screen.</p>
  
  <pre><code>dir | select -expand fullname | % { ($_ -split '\')[7] 
  </code></pre>
  
  <p>But if I add <code>| export-csv c:\test.txt</code> then I see following in the file not the folder name I expected just like I see it on the screen.</p>
  
  <pre><code>#TYPE System.String
  "Length"
  "13"
  "18"
  "20"
  "22"
  "29"
  "21"
  "24"
  "11"
  "17"
  "20"
  "20"
  </code></pre>