|
andyturn -> LDIFDE Export (26.Jan.2009 11:27:37 AM)
|
I currently run two bat files to export email addresses from AD. The first is for Users and the second is for the Distribution Groups (I am looking for the actual smtp address of the Dis Group not the individual memebers). Does anyone know how I can combine them so I just get one .ldf file with the Groups and the Users? User Bat: CALL ldifde -f Exportuser.ldf -s tg-b01 -d "dc=timmons,dc=com" -p subtree -r "(&(objectCategory=person)(objectClass=User)(givenname=*))" -l "cn,givenName,objectclass,samAccountName,proxyAddresses" Distribution Groups Bat: CALL ldifde -f Exportuser2.ldf -s tg-b01 -d "dc=timmons,dc=com" -p subtree -r "(&(objectCategory=group)(objectClass=group))" -l "cn,givenName,objectclass,samAccountName,proxyAddresses"
|
|
|
|