Solved

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

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

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 16

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 16

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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

735 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