I'm looking to make a report that will report on Emails sent to and from multiple email address between time periods. The time periods would be daily (for previous day) and Weekly (for previous week).
I was using the this command for a single pull - C:\Windows\system32>$logrecs = get-messagetrackinglog -Recipients:customer.care@ -EventID "RECEIVE" -Start "03/15/2010 12:00:00 AM" -End "03/18/2010 3:31:00 PM" -DomainController
That will take take to long to do against 8 email addresses.
Is there a powershell way of doing this and can it email the results?