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

As long as the users dont have the setting explicitly set on their account then the infomration store shoudl take precedenance..,289483,sid43_gci1243231,00.html#
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.
Sorry misread.. Shall have a think..!
Determine the Perfect Price for Your IT Services

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

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.
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?
pzozulkaAuthor Commented:
Get-Mailbox | Set-Mailbox ManagedFolderMailboxPolicy 'Default Managed Custom Folders'

Applies setting to all mailboxes. For more info see below under Step 4:

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

From novice to tech pro — start learning today.