Delete Messages from Exchange and Exchange Online Environment

This blog post outlines the process that can be followed when Exchange administrators are contacted by legal/compliance/Security teams to remove the messages matching certain criteria from the Exchange/Exchange Online environment. Exchange Note: – For commands to be successful indexing on the exchange servers should be in healthy condition. First and foremost step is to run…

Search and Delete Messages from User Mailboxes – Exchange 2010

Hi Readers, Today I am sharing the method to remove messages from exchange mailboxes. Note:- Indexing should be working fine otherwise there would be issues in removing messages from mailboxes. Create a CSV file for user mailboxes on which you want to take action: Just logging:  import-csv c:\tmp\Messagesubject.csv | foreach {Search-Mailbox $_.alias -SearchQuery subject:“Vikas Sukhija Schedule”…