Exchange 2007 delete message

How do you scan the exchange store and delete a message with a particular subject line?
Jack_son_Asked:
Who is Participating?
 
Glen KnightConnect With a Mentor Commented:
You would use something like:


Get-mailbox -database 'DB1' | export-mailbox –SubjectKeywords "Confidential" -TargetFolder "ConfidentialData" -TargetMailbox Administrator –DeleteContent

Source: http://msexchangeteam.com/archive/2006/11/28/431669.aspx

There are a number if other examples listed there.
0
All Courses

From novice to tech pro — start learning today.