Solved

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

Posted on 2015-01-15
5
256 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
how to add IIS SMTP to handle application/Scanner relays into office 365.

752 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