tag:blogger.com,1999:blog-2700618246940458459.post7815640102755908781..comments2023-12-15T13:51:41.504+02:00Comments on My Knowledge Base - IT: Delete emails in multiple mailboxes in Exchange 2010 SP1Bhojraj Parmarhttp://www.blogger.com/profile/06704577692109479971noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-2700618246940458459.post-48619451519208757032012-11-06T22:35:12.681+02:002012-11-06T22:35:12.681+02:00you are missing a ' at the end.you are missing a ' at the end.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2700618246940458459.post-31355623273115823272012-10-13T15:36:38.963+02:002012-10-13T15:36:38.963+02:00Thanks Bhojraj,this helped us get rid of an email ...Thanks Bhojraj,this helped us get rid of an email a naughty student sent around school. We had to enable the command first, I referenced http://www.techieshelp.com/delete-mail-from-multiple-mailboxes/ for anyone who has the same issueAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2700618246940458459.post-21912679740029035432012-02-28T17:17:15.199+02:002012-02-28T17:17:15.199+02:00Dear Jeffrey,
Thank you for a very valid suggesti...Dear Jeffrey,<br /><br />Thank you for a very valid suggestion.Bhojraj Parmarhttps://www.blogger.com/profile/06704577692109479971noreply@blogger.comtag:blogger.com,1999:blog-2700618246940458459.post-19056367371729067972012-02-28T15:50:19.338+02:002012-02-28T15:50:19.338+02:00I recommend that first you run the command without...I recommend that first you run the command without -DeleteContents. Add -LogLevel Full -TargetMailbox "My Name" -TargetFolder "a mailbox folder name for this"<br /><br />When done, it will put an email in your target folder with a CSV attachment with the results. You can then make sure you are only deleting what you want.<br /><br />Also add other parameters to the searchQuery to make sure you get it right: -SearchQuery 'subject:"the bad email subject" sent:today from:"name of person who goofed"'<br /><br />Once you verify that you will only be deleting the emails you expect, run the same command and add the -DeleteContents switch. The resulting csv in your mailbox is the log record of what happened.Jeffrey Wonghttp://www.pomfretschool.orgnoreply@blogger.comtag:blogger.com,1999:blog-2700618246940458459.post-48590270856407112112012-01-26T16:09:18.620+02:002012-01-26T16:09:18.620+02:00This is great, been looking for it. However, i am ...This is great, been looking for it. However, i am having problem with running shell cammand. Following is result, HELP PLEASE<br />The term 'Search-Mailbox' is not recognized as the name of a cmdlet, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<br />At line:1 char:69<br />* Get-Mailbox -Server "****" -ResultSize unlimited | Search-Mailbox <<<< -SearchQuery 'Subject:"test email"' -DeleteContent<br />+CategoryInfo : ObjectNotFound: [], CommandNotFoundException<br />= FullyQualifiedErrorId : CommandNotFoundExceptionAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2700618246940458459.post-45334789934812487222011-11-29T12:11:10.773+02:002011-11-29T12:11:10.773+02:00Thanks, got a rogue mail fixed with this and anoth...Thanks, got a rogue mail fixed with this and another resource.<br /><br />http://www.techieshelp.com/delete-mail-from-multiple-mailboxes/Paul Smithhttp://www.google.comnoreply@blogger.comtag:blogger.com,1999:blog-2700618246940458459.post-55573277411070530372011-11-09T08:48:16.481+02:002011-11-09T08:48:16.481+02:00Try server name withou ""
The prompt mea...Try server name withou ""<br />The prompt means that your command is not completedBhojraj Parmarhttps://www.blogger.com/profile/06704577692109479971noreply@blogger.comtag:blogger.com,1999:blog-2700618246940458459.post-179281576946010032011-11-08T18:49:54.704+02:002011-11-08T18:49:54.704+02:00When I attempt the Get-Mailbox –Server “*servernam...When I attempt the Get-Mailbox –Server “*servername*” –ResultSize unlimited | Search-Mailbox -SearchQuery 'subject:"Email Subject that you want to search for"' –DeleteContent command, all I get is a >> prompt.Yeah Righthttps://www.blogger.com/profile/06548566421442462587noreply@blogger.comtag:blogger.com,1999:blog-2700618246940458459.post-85680000224057895282011-07-14T23:53:09.667+03:002011-07-14T23:53:09.667+03:00For working out troubles related to corrupted or l...For working out troubles related to corrupted or lost edb files you may use <a href="http://www.edbrecover.com" rel="nofollow">EDB recover</a>, which allowing to work under all Windows OS and with all versions of MS Exchange Server. It uses all modern methods of restoring data.Alexhttps://www.blogger.com/profile/02892788277177092618noreply@blogger.com