title: Always getting 1500 member of distribution list using PowerShell
body: <p>I would like to get all members (mail address) of a certain distribution list. 
  Currently I just recieve the first 1500 members. My Script looks like that: </p>
  
  <pre><code>$group = [ADSI]"LDAP://CN=distListOne,OU=Groups,DC=XYZ,DC=XYZ"
  $group.member.count ##Always 1500 
  foreach($member in $group.member)
  {
      $filter = "LDAP://"+$member
      $user = [ADSI]$filter
      $user.properties.mail | out-file "C:\distrUser.txt" -append 
  }
  </code></pre>
  
  <p>I know that there are more than 1500 users in the distribution list. I need anyhow to extend the maximum recieved groupmembers. </p>