how to delete the contents in the user mailbox dumpster :: EXCHANGE 2007 sp3

Hi

Any one can help me how to  clean the user dumpster.
Exchange server details
EXCHAGNE 2007 SP3
DOAMIN CONTRAOLLER ; WINDOWS 2008
LVL 1
zoscoitNetwork AdministratorAsked:
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.

Simon Butler (Sembee)ConsultantCommented:
Deleted Item Retention is the setting on the properties of the mailbox database. It should be cleared automatically from there after the time period has expired.

Otherwise there is no method to purge just the dumpster on Exchange 2007. That functionality was introduced in Exchange 2010.

Simon.
0
zoscoitNetwork AdministratorAuthor Commented:
hi Simon

I am having an hybrid server for migarating users in to cloud; the hybrid server is exchange 2013
is it possible to clear the dumbsetr through this ?

I used this command
Search-Mailbox -Identity "user@mydomain.com" -SearchDumpsterOnly -DeleteContent

when I execute this command I am getting following error

[PS] C:\Windows\system32>Search-Mailbox -identity user@mydomain.com -SearchDumpsterOnly -DeleteContent

WARNING: The Search-Mailbox cmdlet returns up to 10000 results per mailbox if a search query is specified. To return
more than 10000 results, use the New-MailboxSearch cmdlet or the In-Place eDiscovery & Hold console in the Exchange
Administration Center.

Confirm
Deleting content from mailboxes user@mydomain.com
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): y

The version of the mailbox 'mydoamin.com/NEWOU/IT/user' must be Exchange 2010 or later.
    + CategoryInfo          : ReadError: (:) [Search-Mailbox], TaskException
    + FullyQualifiedErrorId : [Server=EXCHSRV13,RequestId=91c83b35-ad5c-403a-9295-5ec0218d7876,TimeStamp=6/19/2015 11:
   05:49 AM] [FailureCategory=Cmdlet-TaskException] E7F16D2C,Microsoft.Exchange.Management.Tasks.SearchMailbox
    + PSComputerName        : exchsrv13.mydomain.com
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
any idea ??
0
Simon Butler (Sembee)ConsultantCommented:
The error answers your question.
To use the command that you want to use, the mailbox must be on Exchange 2010 or higher. You cannot use Exchange 2010/2013 commands on a 2007 mailbox, because the database doesn't support them.

Simon.
0
Will SzymkowskiSenior Solution ArchitectCommented:
In Exchange 2007 there is no powershell switch or command to clean out the Dumpster items.  Also as Simon has stated you can only use cmdlets against mailboxes on the same version of Exchange.

WARNING: The Search-Mailbox cmdlet returns up to 10000 results per mailbox if a search query is specified. To return
 more than 10000 results, use the New-MailboxSearch cmdlet or the In-Place eDiscovery & Hold console in the Exchange
 Administration Center.

Also regarding the above warning message this is basically stating that you have more than 1000 mailboxes and the default search will only search up to 1000. You need to use Search-Mailbox -ResultSize "unlimited" and this warning message will go away and you will be able to search against all mailboxes.

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