Downsize Mailbox by Deleting E-Mails with EMS
Hello, I have a problem with Deleting E-Mails out of a Mailbox with EMS . I am running the command: Search-Mailbox -Identity "Mailbox Name" -DeleteContent -SearchQuery 'received:01/01/2001..11/20/2011' -TargetMailbox " Backup Mailbox" -TargetFolder "Name" -LogLevel Full -Force -verbose Following error I get and the mailbox does not get resized: The items could not be copied. + CategoryInfo : ReadError: (0:Int32) [Search-Mailbox], StoragePermanentException + FullyQualifiedErrorId : 2952493D,Microsoft.Exchange.Management.Tasks.SearchMailbox Does anybodz have an idea how I can handle this issue ? Thanks,
November 24th, 2011 11:26am

Hi Marcel, I test the cmdlet in my test lab(Exchange 2010 SP1 RU6), and it works. Search-Mailbox -Identity "Mailbox Name" -DeleteContent -SearchQuery 'received:01/01/2001..11/20/2011' -TargetMailbox "Backup Mailbox" -TargetFolder "Name" -LogLevel Full -Force -verbose 'received:01/01/2001..11/20/2011' -> Change the Single quotas to quotation marks(" "). Please make sure you meet the Prerequisites to Use Mailbox Search to Delete Messages. http://technet.microsoft.com/en-us/library/ff459253.aspx Please try to run a simple Search-Mailbox to test. For Example: Search-Mailbox -Identity "April Stewart" -SearchQuery "Subject:'Your bank statement'" -DeleteContent Frank
Free Windows Admin Tool Kit Click here and download it now
November 27th, 2011 10:43pm

Hi Marcel, Any updates? Frank
November 30th, 2011 3:21am

Hello, In my case the solution was to disable antivirus services on the mailbox server. The -DeleteContent option then work without problems. Exchange 2010 SP2 + CU1. Maybe it will be helpful for somebody. Dave
Free Windows Admin Tool Kit Click here and download it now
May 10th, 2012 10:17am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics