Remove one email accross mailboxes

I need to remove one specific email fro all mailboxes across the organization, We have Exchnage 2007
nourbenAsked:
Who is Participating?
 
OctInvConnect With a Mentor Commented:
Also note that you can't run -PSTFolderpath in a 64bit environment.  The best way to do this is to install the Exchange management tools on a 32bit machine along with Outlook and run the -PSTFolderpath command from there.
Hope this helps.
0
 
IamTheMorsaConnect With a Mentor Commented:
Export-Mailbox cmdlet.
http://msexchangeteam.com/archive/2006/12/18/431934.aspx

ie

Export-Mailbox -Identity "First.Lastname" -SubjectKeywords "This is my test message." -DeleteContent
0
 
nourbenAuthor Commented:
It work on my mailbox but accross the mailboxes should I use

Export-Mailbox -Server "ServerName" -SubjectKeywords "This is my test message." -DeleteContent
0
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

 
OctInvCommented:
You need to pipe in another command first, such as:

get-maillbox -server exchangeservername | Export-Mailbox -SubjectKeywords "keyword" -DeleteContent

This will do the jon for the entire mailbox server.
0
 
nourbenAuthor Commented:
Is there a way to export to a PST file before the delete
0
 
OctInvCommented:
Yes, you can use the -PSTFolderpath switch.
0
All Courses

From novice to tech pro — start learning today.