Link to home
Start Free TrialLog in
Avatar of evetsleep
evetsleep

asked on

Dealing with large group memberships (range retrieval) using PowerShell (v1)

I'm working on a project where I need to have a script return the distinguished names of all members of a distribution group.  Easy enough, except when the distribution group has more then 1,500 members.  I know I can do this with non-native cmdlets or the Exchange cmdlets, but I really need to do this using LDAP\ADSI.  The problem appears to be that I need to use range retrieval, however I'm having a hard time finding working code samples that do this.  Does anyone have any code samples that can be used to spit out group member DN's for distribution groups that are larger than 1,500 members?

As always...thanks!
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of evetsleep
evetsleep

ASKER

That was it...thanks!