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”…

Message Tracking Multiple users

Hi Readers, Today I am sharing a script that reads list of users from CSV file & extract message tracking logs based on the dates mentioned in CSV. Here is the example CSV file: & here are the results in log folder that will be received after script execution Download & extract the zip file from…

Enable Out of Office thru Powershell

Hi Readers, With the advent of Exchange 2010 we have got the new feature of setting OOO thru powershell. Setting Up out of office by Exchange shell: Set-MailboxAutoReplyConfiguration -identity “Vikassukhija@Labtest.com” –AutoReplyState Scheduled –StartTime “06/30/2014” –EndTime “07/02/2014” –ExternalMessage “Thanks for your mail. I am out-of-office and do not have access to mails. I will return on…