Solved

How to check and change the Deleted Item Retention Period on Exchange server 2010?

Posted on 2015-01-15
5
266 Views
Last Modified: 2015-01-16
I just realised that the Deleted Item Retention Period on the Exchange Server 2010 standard is only 14 days.
(It was 30 days on the Small Business Server 2011 that has Exchange 2010 on it - which made me think that this period is longer)

I would like to change this default to at least 30 days on "regular" (non sbs) Exchange.

How can I check what is the Deleted Item Retention Period currently set up to on the Exchange server that was supported by previous IT personnel?
 
How can I extend the Deleted Item Retention Period for all server (not specific mailbox) on "regular" Exchange 2010?
0
Comment
Question by:pyotrek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 17

Assisted Solution

by:Ivan
Ivan earned 500 total points
ID: 40552343
Hi there,

to increase the deleted item retention period for all user mailboxes in the organization.

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

To check current settings:
Get-Mailbox <Name> | FL RetainDeletedItemsFor
or
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | FL Name,RetainDeletedItemsFor

Regards,
0
 
LVL 17

Accepted Solution

by:
Ivan earned 500 total points
ID: 40552348
ops, that is for 2013.

For exchange 2010, it is: Set-MailboxDatabase -Identity MDB2 -DeletedItemRetention 30
Just change Database Identity.

Regards,
0
 
LVL 1

Author Closing Comment

by:pyotrek
ID: 40552394
Fantastic - thanks a lot
0
 
LVL 1

Author Comment

by:pyotrek
ID: 40552399
spriggan13:
Could you list here commands for exchange 2007, 2010 and 2013?
0
 
LVL 17

Expert Comment

by:Ivan
ID: 40552982
Hi,

for 2007 it is almost same thing.

http://technet.microsoft.com/en-us/library/aa997206(v=exchg.80).aspx

Set-MailboxDatabase <database_name> -DeletedItemRetention 7.00:00:00

You can do it via GUI as well :)

Regards
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses
Course of the Month10 days, 15 hours left to enroll

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question