locked
How to get a list of all emails in Exchange Server 2003 RRS feed

  • Question

  • There are probably a bunch of topics that have some information about what I need, but I'm trying to compile them all in one, I need to figure out how to get a list of:

    • Users' email addresses
    • Users' SMTP addresses (for users with more than one email address)
    • Public Folders' email addresses

    If there is a code for Visual Studio 2010 I will accept that too, as long as it gives me what I need.

    Remember: This is for Exchange 2003

    Thanks.

    Wednesday, June 20, 2012 1:34 AM

Answers

  • Hi,

    You can get it from Active Directory Users and Computers. Click on Saved Querries at the toop of the console. Define Qerry and select custome search. Select the field User-> Email Address ->Select the condition as 'Present' and accept the querry. Now Click View->Add Remove colums and select required fields. Export the result as csv


    Regards from www.windowsadmin.info | www.blog.windowsadmin.info

    • Proposed as answer by Terence Yu Thursday, June 21, 2012 2:42 AM
    • Marked as answer by Terence Yu Wednesday, June 27, 2012 2:06 AM
    Wednesday, June 20, 2012 2:13 AM
  • Here is simple script for you , run to see if this gives you what you need

    http://smtp25.blogspot.com/2007/08/mail-box-count-script_4766.html

    Copy and paste the entire code into notepad
    Change the server name, into your server name (ServerList = Array("server1", "server2", "server3")
    Save the file on your Hard drive as mailboxCount.vbs ( c:\ mailboxCount.vbs)
    Now go to command line
    Drill down to same directory ( c:\ mailboxCount.vbs)
    Run the file by typing, c:\ mailboxCount.vbs

    Good Luck

    ocd


    Oz Casey, Dedeal MCITP (EMA), MCITP (EA), MCITP (SA) Visit smtp25.blogspot.com Visit Telnet25.wordpress.com   This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    • Proposed as answer by Terence Yu Thursday, June 21, 2012 2:42 AM
    • Marked as answer by Terence Yu Wednesday, June 27, 2012 2:06 AM
    Wednesday, June 20, 2012 3:12 AM

All replies

  • Hi,

    You can get it from Active Directory Users and Computers. Click on Saved Querries at the toop of the console. Define Qerry and select custome search. Select the field User-> Email Address ->Select the condition as 'Present' and accept the querry. Now Click View->Add Remove colums and select required fields. Export the result as csv


    Regards from www.windowsadmin.info | www.blog.windowsadmin.info

    • Proposed as answer by Terence Yu Thursday, June 21, 2012 2:42 AM
    • Marked as answer by Terence Yu Wednesday, June 27, 2012 2:06 AM
    Wednesday, June 20, 2012 2:13 AM
  • Here is simple script for you , run to see if this gives you what you need

    http://smtp25.blogspot.com/2007/08/mail-box-count-script_4766.html

    Copy and paste the entire code into notepad
    Change the server name, into your server name (ServerList = Array("server1", "server2", "server3")
    Save the file on your Hard drive as mailboxCount.vbs ( c:\ mailboxCount.vbs)
    Now go to command line
    Drill down to same directory ( c:\ mailboxCount.vbs)
    Run the file by typing, c:\ mailboxCount.vbs

    Good Luck

    ocd


    Oz Casey, Dedeal MCITP (EMA), MCITP (EA), MCITP (SA) Visit smtp25.blogspot.com Visit Telnet25.wordpress.com   This posting is provided AS-IS with no warranties or guarantees and confers no rights.

    • Proposed as answer by Terence Yu Thursday, June 21, 2012 2:42 AM
    • Marked as answer by Terence Yu Wednesday, June 27, 2012 2:06 AM
    Wednesday, June 20, 2012 3:12 AM
  • Hi
       If reply is helpful to you, please mark their case.

    Terence Yu

    TechNet Community Support

    Thursday, June 21, 2012 2:44 AM