Perfect. Works like a charm.... Thanks
On Mon, 9 Aug 2004 11:57:31 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I hope Joe doesn't get all worked up if I confess that I have not used adfind > (yet) :). But, I would assume you should be able to do something like this: > > adfind -b dc=test,dc=com cn proxyaddresses|find /i "SMTP">proxy.txt > > This depends on HOW ADFIND output its result. > > Sincerely, > > D�j� Ak�m�l�f�, MCSE MCSA MCP+I > Microsoft MVP - Directory Services > www.readymaids.com - we know IT > www.akomolafe.com > Do you now realize that Today is the Tomorrow you were worried about > Yesterday? -anon > > ________________________________ > > From: [EMAIL PROTECTED] on behalf of Steve > Sent: Mon 8/9/2004 9:13 AM > To: [EMAIL PROTECTED] > Subject: [ActiveDir] Refining an LDAP search > > > > > Using Joe's most excellent adfind utility, I'm searching though AD > looking for all proxyaddressess and then piping it to a file so it can > be searched for duplicates. > > adfind -b dc=test,dc=com cn proxyaddresses >proxy.txt > > This works great and has been a great help in cleaning up duplicate > proxyaddresses names. > > However, this gives all the proxy address (x400, x500, smtp, MS, and > CCmail) associated with an object. > > The question is: How do I change the search to only show SMTP addresses? > > Thanks! > List info : http://www.activedir.org/mail_list.htm > List FAQ : http://www.activedir.org/list_faq.htm > List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ > > List info : http://www.activedir.org/mail_list.htm > List FAQ : http://www.activedir.org/list_faq.htm > List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ > List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
