Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete Message sent to all staff

Status
Not open for further replies.

oyazo

MIS
Apr 14, 2008
47
PT
Hello My People,

I use MS Exchange 2007.

We received a junk mail that was sent to all staff on the network.

I want to remove/delete this message from all the mailboxes of all the staff.

Does anybody has the cmdlet that can remove this junk mail from mailboxes of multiple users at a time.

Your contribution will be appreciated.

Thank you.
 
You should be abel to use Export-Mailbox

get-mailbox | Export-Mailbox -SubjectKeywords "Subject of message" -DeleteContent

Should delete all messages with a spssified subject.
 
This comes up quite a lot (though not too often in 07 as it is fairly new). Suggest you make that an FAQ.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top