Exchange 2007 Delete Deleted Items after 30 days

We need to delete all emails in the Deleted Items folder in Outlook, after 30 days. I created this policy in Exchange Server, and can also set this up for individual user mailboxes.

However, my question is, how do I set this up for all user mailboxes without going and applying this setting one by one to each user.
LVL 8
pzozulkaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnGerhardtCommented:
As long as the users dont have the setting explicitly set on their account then the infomration store shoudl take precedenance..
http://searchexchange.techtarget.com/tip/0,289483,sid43_gci1243231,00.html#
0
pzozulkaAuthor Commented:
Thank you for your response. This article sounds like it is talking about deleted items retention. (After an email is deleted from the Deleted Items folder, Exchange Server will wait 30 days until it permanently deletes this).

I am talking about emptying the Deleted Items folder from Outlook after emails reach a 30 day of life within the Deleted Items folder.

I am referring to this post, except I need to make this for all user mailboxes, not individual ones.
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_23012912.html?sfQueryTermInfo=1+2007+delet+exchang+item
0
JohnGerhardtCommented:
Sorry misread.. Shall have a think..!
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Rajith EnchiparambilOffice 365 & Exchange ArchitectCommented:
0
Rajith EnchiparambilOffice 365 & Exchange ArchitectCommented:
The final step is to schedule Exchange to run this periodically.
Server Configuration > Hub Transport.  Right-click on the server, choose Properties, then click on the Messaging Record Management tab.  In here you can tell Exchange when to run the process.
0
pzozulkaAuthor Commented:
I'm sorry, I must have worded my question wrong. I am not interested in mailbox retension or email retension. I am interested in Exchange deleting items older than 30 days from Outlook's Deleted Items folder.
Following these steps:
--Under Organization Configuration, Mailbox, you need to go to Managed Default Folders and select Deleted Items, then add a new Managed Content Setting that deletes items after they've been in Deleted Items for over 30 days

--Go to Managed Folders Mailbox Policies and create a policy that uses the new Managed Content Setting

--Assign the new Policy to the user in question


*********************************************************************
This however works for individual users, I need to apply this to all the users.
My questions is how?
0
pzozulkaAuthor Commented:
Get-Mailbox | Set-Mailbox ManagedFolderMailboxPolicy 'Default Managed Custom Folders'

Applies setting to all mailboxes. For more info see below under Step 4:
http://www.msexchange.org/articles_tutorials/exchange-server-2007/compliance-policies-archiving/exchange-2007-messaging-records-management-part2.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.