Home » Exchange Server » How to Find all Exchange Server 2010 Mailboxes with Archive Enabled

How to Find all Exchange Server 2010 Mailboxes with Archive Enabled

In an Exchange Server 2010 environment it may be necessary to identify which mailbox users have the personal archive enabled.

This can be found easily in the Exchange Management Shell with this command.

If you prefer the Exchange Management Console you can use a filter to display all of the archive enabled mailbox users.

Exchange Server 2010 filtered view for archive enabled mailbox users
Exchange Server 2010 filtered view for archive enabled mailbox users

You can also list all archive enabled users along with their archive mailbox settings.

Paul is a Microsoft MVP for Office Servers and Services. He works as a consultant, writer, and trainer specializing in Office 365 and Exchange Server. Paul is a co-author of Office 365 for IT Pros and several other books, and is also a Pluralsight author.
Category: Exchange Server

17 comments

  1. jm says:

    Hi,

    Thanks interesting. You might want to add the command elsewhere than just in a screenshot.
    I mean, it would be useful to be able to copy it right? 🙂

  2. Wes says:

    jm,

    Those are active text boxes, so you can copy the commands.
    From first box copied just now:
    Get-Mailbox | where {$_.ArchiveDatabase -ne $null}

    Thanks,
    Wes

  3. Paul says:

    What would be the command to export the archive mail from the archive mailbox back into the users active mailbox or how would you do this manually?

  4. Dirk Haex says:

    you could start a mailboxexport request for the mailbox.
    Then you could do another mailbox export request for the archive to be written into the PST of the mailbox.
    After all this you could turn around to process with a mailbox import request of the PST (merged mailbox & archive)

  5. Jolivette says:

    Great writeup but I’m having an issue exporting to csv?
    Get-Mailbox -ResultSize unlimited | where {$_.ArchiveDatabase -ne $null} |ft name,archivedatabase | Export-Csv C:TempArchiveExport.csv -NoTypeInformation

    • Ryan Chau says:

      Try this:

      Get-mailbox -OrganizationalUnit “OU=YourOU,DC=YourDomain,DC=com” -ResultSize Unlimited | where {$_.archivedatabase -ne $null}

  6. MScarn says:

    Hi

    Thank you for this post and your help. I was wondering if there is a shell command that identifies all users with full mailboxes. So in other words, they can no longer receive new email unless they free space in their inbox’s.

    Thank you

    • For Exchange 2010, the Get-MailboxStatistics cmdlet will return a “StorageLimitStatus” attribute that will indicate whether they are above or below the storage quotas for their mailbox.

  7. AC says:

    Very helpful indeed! Anyways, trying to do some Export-CSV stuffs and I’m receiving this kind of result for my archivename: Microsoft.Exchange.Data.MultiValuedProperty`1[System.String]. Any scripts on how I can break this?

Leave a Reply

Your email address will not be published. Required fields are marked *