Search active directory for specific email address.

Posted on 2007-07-26
Last Modified: 2008-06-16
hey everyone.
I am looking for a way to search Active Directory for specific email addresses.
The first way I am wanting to search is to search for all users, groups, and public folders with an smtp email address with the word "policy" in it.  I would like these results exported to a file of some kind.
The second way I want to search is to search a specific OU for users, groups, and public folders with an smtp email address with the word "policy" in it and export the list to a file.

Everywhere I look, people are telling me I need a script.  I just started in this department and dont know scripting yet.  Can anyone help me out.  I will assign lots of points:)
Question by:lardo
    1 Comment
    LVL 25

    Accepted Solution

    you don't need a script...below is how you find users..

    Logon to your mailserver or an xp machine with Exchange Admin tools installed.
    goto start > programs > Microsoft Exchange > Open Active directory
    At the top level under saved queries...right click....choose new...type a name for the define query...change the drop down to "Users Contacts and Groups"...on the exchange tab...checkbox> "Users with Mailboxes"..on the advanced tab, click Field > User > E-mail address.....change the condition to "begins with".....  Now type *policy* should see a list......right click on the query you just created to the left..and choose export.  Save the file to a location.

    Change you query to look for groups as well....

    If you click view > then choose will now see Microsoft Exchange System can find public folders in here.  I would just export the list into a file, then import it into access and run whatever query you want on it.

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Starting in Windows Server 2008, Microsoft introduced the Group Policy Central Store. This automatically replicating location allows IT administrators to have the latest and greatest Group Policy (GP) configuration settings available. Let’s expl…
    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now