Server 2008 R2 GPO for Exchange Server to empty deleted Items

I there a way I can delete end user deleted items folder? Server 2008 R2 - Exchange Server 2010
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.

Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
You can set this this through GPO. MS already have these template you might need to download these for the version of office you are using from

1.Open the GPMC through Control panel-> Administrative Tools-> Group Policy Management
2.In the left column, browse to the folder Group Policy Objects and select the Policy you wish to enforce Outlook policies on

Sumit GuptaSystem and Virtualization EngineerCommented:
How to force empty the deleted items / recoverable items dumpster in a users mailbox.

To view how much space is consumed by all users dumpster files run this command:
Get-MailBox | Get-MailboxStatistics | select DisplayName,TotalDeletedItemSize

To view an individuals TotalDeletedItemSize, run this command:
Get-MailboxStatistics  | select DisplayName,TotalDeletedItemSize

To view how much white space / available space is in your database run this command:
Get-MailboxDatabase -Status | Sort-Object DatabaseSize -Descending | Format-Table
 Name, DatabaseSize, AvailableNewMailboxSpace

We want to force a purge to reduce TotalDeletedItemSize to increase the AvailableNewMailboxSpace in your mailbox databases. We will use the Search-Mailbox command with the -SearchDumpsterOnly-DeleteContent switch, this will delete all dumpster items from the users mailbox, which means the user will not be able to retrieve these items form Recover Deleted Items in Outlook
Search-mailbox -identity "Display Name goes here" -SearchDumpsterOnly -DeleteContent

Search-Mailbox Problem:
When using Powershell to run the Search-Mailbox command the following error is generated:
Search-Mailbox” Command in Powershell: The Term “Search-Mailbox” Is Not Recognized as the Name of a cmdlet
This error will be generated if the snap-in has not been registered, register the snap-in use the following command:
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010

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
LHernandez2Author Commented:
Thank you!
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
Microsoft Applications

From novice to tech pro — start learning today.