Find Email in Active Directory Domain Using CSVDE/LDIFDE
In windows 2003 and later you can use AD saved queries , but for windows 2000 domain the only way is by using CSVDE/LDIFDE
The following command should do the work :You will receive file output
csvde -f outputfilename.csv -d “dc=domain,dc=com” -r “(&(mailnickname=*)(proxyAddresses=smtp:email@yourdomain.com))” -l name
Change “dc=domain,dc=com” to your AD domain name and suffix, and email@yourdomain.com with the email address you’re looking for.
To find all recipients who have an email address from a particular SMTP domain, you can use a wild card (*), see example bellow:
csvde -f filename.csv -d “dc=domain,dc=com” -r “(&(mailnickname=*)(proxyAddresses=smtp:*@yourdomain.com))” -l name
Post a comment
Search Kreslavsky.com