If you’ve deployed mailbox sent items configurations in your organization, and are planning to upgrade to Exchange Server 2013 (which does not currently support mailbox sent items configurations like Exchange 2010 SP3 does), then you may wish to run an audit of those configurations to determine the impact of the upgrade.

I’ve written a PowerShell script to perform this audit and produce a CSV file with the results.

Download the script file from Github

Running AuditMailboxSentItemsConfiguration.ps1

The script is run from the Exchange Management Shell and uses switches to control the scope of the audit.

  • -All audits all mailboxes in the organization
  • -Database audits the mailboxes on a specified database
  • -Server audits the mailboxes on a specified server

For smaller organizations -All is probably going to be fine to use, but larger orgs may consider using -Database or -Server instead. Example:

[PS] C:ScriptsAuditMailboxSentItemsConfiguration>.AuditMailboxSentItemsConfiguration.ps1 -all -Verbose
WARNING: Active Directory server settings remained unchanged.
VERBOSE: Fetching mailbox list
Processing Mary Friel
Processing Administrator
Processing Alan Reid
Processing Alex Heyne


Processing Sharnjit Mcilroy
Processing Ben Brook
Processing Jennifer Tind
Processing Karen Roberts
Processing John Tilleray
Processing zhire test
Processing test01
Processing James Blanko
Processing Marketing
VERBOSE: - Send as: SenderAndFrom
VERBOSE: - Send on Behalf: SenderAndFrom
VERBOSE: Adding Marketing to report
Results output to MailboxSentItemsConfigReport-20140412-1528-D9zJPX.csv.

If any mailboxes with a non-default sent items configuration are found they are included in the CSV file that is output to the same folder where the script is running from. auditmailboxsentitemsconfiguration-script As always for any feedback or problems you encounter with script please leave a comment below.

About the Author

Paul Cunningham

Paul is a former Microsoft MVP for Office Apps and Services. He works as a consultant, writer, and trainer specializing in Office 365 and Exchange Server. Paul no longer writes for Practical365.com.


  1. Marquesn Hammond

    Im am receiving delivery errors between my 2003 server and 2010 exchange server internally. I have only moved two boxes to test and I can send out externally just fine but internal email is not received by anyone from the mailbox on the new server. Below is the error I am receiving.

    Delivery has failed to these recipients or groups:

    Marques B. Hammond
    There’s a problem with the recipient’s mailbox. Please try resending this message. If the problem continues, please contact your helpdesk.

    Diagnostic information for administrators:

    Generating server: w2k3pdc02.pbh02.com

    # #SMTP#

    Original message headers:

    Received: from PB08Exch10.pbh02.com ([]) by w2k3pdc02.pbh02.com
    with Microsoft SMTPSVC(6.0.3790.4675); Wed, 23 Apr 2014 09:27:46 -0400
    Received: from PB08Exch10.pbh02.com ([fe80::91ba:a72:671:5655]) by
    PB08Exch10.pbh02.com ([fe80::91ba:a72:671:5655%11]) with mapi id
    14.03.0174.001; Wed, 23 Apr 2014 09:27:45 -0400
    Content-Type: application/ms-tnef; name=”winmail.dat”
    Content-Transfer-Encoding: binary
    From: test user
    To: “Marques B. Hammond”
    Subject: test
    Thread-Topic: test
    Thread-Index: Ac9e98+68lAKrbVEQD6DdGbUIMss0g==
    Date: Wed, 23 Apr 2014 09:27:45 -0400
    Accept-Language: en-US
    Content-Language: en-US
    MIME-Version: 1.0
    X-Originating-IP: []
    Return-Path: tuser@p-bhealth.com
    X-OriginalArrivalTime: 23 Apr 2014 13:27:46.0147 (UTC) FILETIME=[D049E330:01CF5EF7]

Leave a Reply