Quantcast
Channel: Practical 365
Viewing all articles
Browse latest Browse all 520

PowerShell Script: Audit Mailbox Sent Items Configurations

$
0
0

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 here: AuditMailboxSentItemsConfiguration.ps1 (downloaded 2 times so far)

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:\Scripts\AuditMailboxSentItemsConfiguration>.\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.


This article PowerShell Script: Audit Mailbox Sent Items Configurations is © 2014 ExchangeServerPro.com

Get more Exchange Server tips at ExchangeServerPro.com


Viewing all articles
Browse latest Browse all 520