Using PowerShell to email clients their message transactions
So here's a very long story short! We had about a 3 hour period last week where approximately 4,500 of our mailboxes had messages that were sent but may not have been received. What I need to do is use PowerShell to get the receive history for each client during this 3 hour period and email that history to the employee. If they see a message that was sent to them that they do not have and they need, they can contact the sender and ask him/her to resend. We are Exchange 2007 SP2 and we have four FE servers. This means I'll need to run "get-messagetrackinglog" four times; one for each FE. Somehow I need to append the results into a single text file and email that file to the employee. Any and all suggestions would be greatly appreciated!
December 14th, 2009 5:14am
Hi Aaron,
I think that you can use logparser tool to filter the four message tracking files on the Front End servers and export results to CSV file. Then you can simply copy them to one CSV file.
For your reference:
More fun with Logparser and Exchange logs
http://msexchangeteam.com/archive/2007/09/12/446982.aspx
Using the Logparser Utility to Analyze Exchange/IIS Logs
http://www.msexchange.org/tutorials/Using-Logparser-Utility-Analyze-ExchangeIIS-Logs.html
~~~~~~~~~~~~~~~~
Mike Shen
TechNet Subscriber Support in forum
If you have any feedback on our support, pleasecontact tngfb@microsoft.com
~~~~~~~~~~~~~~~~
Free Windows Admin Tool Kit Click here and download it now
December 15th, 2009 12:30pm