Solved

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

Posted on 2015-01-15
5
220 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
  • 3
  • 2
5 Comments
 
LVL 15

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 15

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 15

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
how to add IIS SMTP to handle application/Scanner relays into office 365.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now