PowerShell script to audit Microsoft Exchange and Office 365 mailboxes.
Supports Exchange server versions 2007 through 2019. Run the script on the exchange server you want to audit.
Requires an administrative office 365 account. Run the script from any machine with an internet connection.