locked
Get messages sent for the day RRS feed

  • Question

  • Hi All

    One of the users has aked to get a daily list of messages sent and received and a count for reporting purposes so I thought it would be an easy powershell script to knock up...but I'm struggling.

    I've seen some of the other examples for searching the message tracking logs but they are not accurate. I thought I'd get the list of sent messages with

    Get_TransportServer | Get_MessageTrackingLog -Sender <user mailbox> -Start (Get_Date).AddHours(-24) -EventId SEND

    but this only gets messages sent to SMTP addresses so you miss anything internal. An eventid of submit seems to get the right count but you have no recipients. Deliver gets the internal recipients but multiple users have been expanded out to multiple messages.

    Having had a look around various forums and "Dr Google" there doesn't seems to be a simple method to just get a list of sent or received. I thinking may have to code up something way more complex for what I thought would be a relatively simple task.

    Cheers

    Peter

    Wednesday, October 24, 2012 12:27 AM

Answers

All replies