Re: Distribution List Members Export
- From: "Richard Mueller" <rlmueller-NOSPAM@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 1 May 2006 16:34:58 -0500
cnei1950 wrote:
I have been struggling with both LDIFDE & CSVDE to try and get the list of
members in an AD 2003 distribution list with their email address.
Could anyone share a sample string for this?
Any help would be greatly apprecited.
Celes
Hi,
Try something similar to below to enumerate members of
cn=Mylist,ou=Sales,dc=MyDomain,dc=com:
csvde -f report.txt -r "memberOf=cn=MyList,ou=Sales,dc=MyDomain,dc=com" -l
sAMAccountName,displayName,mail
ldifde -f report.txt -r "memberOf=cn=MyList,ou=Sales,dc=MyDomain,dc=com" -l
sAMAccountName,displayName,mail
You must specify the full distinguished name of the distribution group.
--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
.
- Prev by Date: Re: Using EFS on a server shared drive
- Next by Date: remove set as desktop background from contextual menu?
- Previous by thread: Re: Using EFS on a server shared drive
- Next by thread: Re: Distribution List Members Export
- Index(es):
Relevant Pages
|