title: Powershell Append CSV
body: <p>I am trying to append a CSV file.  Here are the lines I am using.  I wasn't able to find an append option for export-csv unfortunately.  Any ideas would be helpful to get this to work.</p>
  <pre><code>Get-ADGroupMember &quot;Domain Admins&quot; | select name, samaccountname | Export-Csv c:\bin\DomainAdmins.csv
  
  $admins = Import-Csv C:\bin\DomainAdmins.csv
  
  foreach ($i in $admins) {Get-ADUser $i.samaccountname -properties * | select name, lastlogondate | Export-Csv c:\bin\dalogon.csv}
  </code></pre>