title: Cannot get information from Get-ADUser to output to CSV
body: <p>I have a SUPER simple query of <code>Get-ADUser</code> select mail that I need to output to CSV. The query fetches the information that I am looking for and prints to screen but when I attempt to use the <code>Export-Csv</code> OR <code>Out-File</code> cmdlets it creates a blank document.</p>
  
  <pre><code>$Users = Import-Csv C:\users\bob\Desktop\Administrator.csv
  
  foreach ($User in $Users) {
      $User = $User.UserName
  
      Get-ADUser $User -Properties * |
          Select mail |
          Export-Csv -Path C:\Users\miker99a\Desktop\DiscoveryED.csv
  }
  </code></pre>