Hi Guillaume,
Thanks for your posting here.
As I know, we can use the LDIFDE and CSVDE.EXE to extract data from Active
Directory
Please refer to the following article:
Q237677 Using LDIFDE to Import/Export Directory Objects to the AD
http://support.microsoft.com/default.aspx?scid=kb;EN-US;237677
327620 HOW TO: Use Csvde to Import Contacts and User Objects into Active
http://support.microsoft.com/?id=327620
The following script is hecking for members of a Security Group "Bob Mail
Test" in an OU Mailtest in my test domain.
Set objGroup = GetObject _
("LDAP://CN=Bob Mail Test,OU=Mailtest,DC=Root,DC=com")
For Each objMember in objGroup.Members
Wscript.Echo objMember.name & VBTab & "Email Address: " &objMember.mail
Next
The output looks like the below text
D:\scripts>cscript listmember.vbs
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
CN=bob2 Email Address: (e-mail address removed)
CN=Bob Email Address: (e-mail address removed)
There are excellent scripting samples at the Microsoft Technet center. The
page you will probably find of the most interest is:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcen
ter/user/default.asp
In addition, I recommend that you post this question to the following
newsgroup to get more information.
microsoft.public.windows.server.scripting
Thank you!
Regards,
Bob Qin
Product Support Services
Microsoft Corporation
Get Secure! -
www.microsoft.com/security
====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.