Knowledge Base Home

Call Support


Search the Knowledge Base

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added how to do all the users. and the link to the MS article for O365.

...

Set-Mailbox -Identity "MBX01" -SingleItemRecoveryEnabled $True -RetainDeletedItemsFor 30

To set the for all users you can use:

Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Set-Mailbox -SingleItemRecoveryEnabled $True -RetainDeletedItemsFor 30
Note

Note: The retention period can be set to any length of time. However, if you want to retain deleted items for longer than 30 days in O365, the mailbox must have an Exchange Online (Plan 2) user license.

...

Enable Single Item Recovery for a Mailbox: http://technet.microsoft.com/en-us/library/ee633460(v=exchg.150).aspx

Change how long permanently deleted items are kept for an Exchange Online mailbox: https://technet.microsoft.com/en-us/library/dn163584(v=exchg.150).aspx

Include Page
_Survey
_Survey