Retention policy for deleting items

starr252
starr252 used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
David CarrMessaging Administrator

Commented:
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.
Thomas GrassiSystems Administrator

Commented:
which version of exchange?
David CarrMessaging Administrator

Commented:
Also Retention Policy cannot be applied to the Deleted Items folder
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Thomas GrassiSystems Administrator

Commented:

Author

Commented:
@trgrassijr

I am looking for the same functionality but it is not working for me
Thomas GrassiSystems Administrator

Commented:
Which version of exchange are you running?

Author

Commented:
exchange 2010.
Rajkumar DuraisamyIT Service Manager
Top Expert 2012

Commented:
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.

Author

Commented:
Then how do i clear the deleted items?
Rajkumar DuraisamyIT Service Manager
Top Expert 2012

Commented:
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..

Author

Commented:
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?
IT Service Manager
Top Expert 2012
Commented:
Get-Mailbox -ResultSize Unlimited -Database "Database Name" | Set-Mailbox -RetentionPolicy "your Retention Policy Name"

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial