Export (0) Print
Expand All

Enable Single Item Recovery for a Mailbox

 

Applies to: Exchange Server 2013, Exchange Online

Topic Last Modified: 2013-03-11

You can use the Shell to enable single item recovery on a mailbox. By default, single item recovery is disabled when a mailbox is created. If single item recovery is enabled, messages that are permanently deleted by the user are retained in the Recoverable Items folder of the mailbox until the deleted item retention period expires. If a message is changed by a user or a process, copies of the original item are also retained. In an on-premises Exchange organization, the mailbox uses the deleted item retention settings of the mailbox database, by default. The deleted item retention period for a mailbox database is set to 14 days, but you can override the default by configuring this setting on a per-mailbox basis.

If a mailbox is placed on In-Place Hold or litigation hold, deleted items are retained until the hold is removed.

To learn more about single item recovery, see Recoverable Items Folder. To recover messages deleted by the user before the deleted item retention period expires, see Perform Single Item Recovery.

noteNote:
In Exchange Online, the deleted item retention period is set to 14 days, by default. You can change this setting to a maximum of 30 days.

Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection.

This example enables single item recovery for the mailbox of April Summers.

Set-Mailbox -Identity "April Summers" -SingleItemRecoveryEnabled $true

This example enables single item recovery for the mailbox of Pilar Pinilla and sets the number of days that deleted items are retained to 30 days.

Set-Mailbox -Identity "Pilar Pinilla" -SingleItemRecoveryEnabled $true -RetainDeletedItemsFor 30

This example enables single item recovery for all user mailboxes in the organization.

Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Set-Mailbox -SingleItemRecoveryEnabled $true

For detailed syntax and parameter information, see Set-Mailbox.

To verify that you’ve enabled single item recovery for a mailbox and display the value for how long deleted items will be retained (in days), run the following command.

Get-Mailbox <Name> | FL SingleItemRecoveryEnabled,RetainDeletedItemsFor
 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft