Solved

Remove one email accross mailboxes

Posted on 2011-03-03
6
248 Views
Last Modified: 2012-05-11
I need to remove one specific email fro all mailboxes across the organization, We have Exchnage 2007
0
Comment
Question by:nourben
  • 3
  • 2
6 Comments
 
LVL 3

Assisted Solution

by:IamTheMorsa
IamTheMorsa earned 200 total points
ID: 35030620
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
 

Author Comment

by:nourben
ID: 35031119
It work on my mailbox but accross the mailboxes should I use

Export-Mailbox -Server "ServerName" -SubjectKeywords "This is my test message." -DeleteContent
0
 
LVL 7

Expert Comment

by:OctInv
ID: 35032976
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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:nourben
ID: 35036905
Is there a way to export to a PST file before the delete
0
 
LVL 7

Expert Comment

by:OctInv
ID: 35037050
Yes, you can use the -PSTFolderpath switch.
0
 
LVL 7

Accepted Solution

by:
OctInv earned 300 total points
ID: 35037214
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now