?
Solved

Retention policy for deleting items

Posted on 2012-12-28
12
Medium Priority
?
498 Views
Last Modified: 2013-01-22
I have created a retention policy for deleting the 'Deleted Items" from users mailbox.
when I try to apply this policy, it only allows me to apply it to individual users (although I can select as many users as I want)
Is there a way that I can apply this policy to a database?
currently, the deleted items are retained for ever and the 14 day retention policy on the database does not work.
0
Comment
Question by:starr252
[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
  • 4
  • 3
  • 3
  • +1
12 Comments
 
LVL 9

Expert Comment

by:David Carr
ID: 38727693
Retention Policy and Deleted item Retention are not the same thing.

Retention Policy controls the moving of data to archives. Deleted Item retention controls how long the deleted items are available to be recovered from the dumpster.
0
 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 38727697
which version of exchange?
0
 
LVL 9

Expert Comment

by:David Carr
ID: 38727699
Also Retention Policy cannot be applied to the Deleted Items folder
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 38727836
0
 

Author Comment

by:starr252
ID: 38727929
@trgrassijr

I am looking for the same functionality but it is not working for me
0
 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 38727944
Which version of exchange are you running?
0
 

Author Comment

by:starr252
ID: 38727948
exchange 2010.
0
 
LVL 15

Expert Comment

by:Rajkumar-MCITP
ID: 38728879
for you question. retention policy can be applied only on a mailbox and not on database.

Also, only one retention policy can be applied to a mailbox.
0
 

Author Comment

by:starr252
ID: 38732469
Then how do i clear the deleted items?
0
 
LVL 15

Expert Comment

by:Rajkumar-MCITP
ID: 38732490
Created a Retention Tag for Deleted Items Folder to Permanently delete after 1 day. I hope you will have the retention policy already -> Add the newly created retention tag to the retention policy - > Once added, run the below shell command

Start-ManagedFolderAssistant -identity "mailboxname"

you can check the deleted items folder..
0
 

Author Comment

by:starr252
ID: 38732497
I have already tried that and it work but I don't want to do it manually for each mailbox.
Is there a way to do it on a database?
0
 
LVL 15

Accepted Solution

by:
Rajkumar-MCITP earned 1500 total points
ID: 38732562
Get-Mailbox -ResultSize Unlimited -Database "Database Name" | Set-Mailbox -RetentionPolicy "your Retention Policy Name"
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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...
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
In this video we show how to create an Address List 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 Organization >> Ad…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

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