Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

Remove one email accross mailboxes

I need to remove one specific email fro all mailboxes across the organization, We have Exchnage 2007
0
nourben
Asked:
nourben
  • 3
  • 2
2 Solutions
 
IamTheMorsaCommented:
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
 
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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
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
 
OctInvCommented:
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now