locked
Message tracking via PowerShell query RRS feed

  • Question

  • Hello

    We have three Hub Transport servers in our Exchange 2007 SP1 environment.

    I understand there is a powershell command - getmessagetrackingloge2ewithtime.ps1 - that can be run on any Hub Transport that will search the logs of all Hub Transport servers for details on particular messages.

    "In Exchange 2007 SP1, you can use the new Exchange Management Shell script named GetMessageTrackingLogE2EwithTime.ps1 to search for specific entries in all message tracking logs on all Hub Transport servers and Mailbox servers in the Exchange organization. This is useful when you want to track the complete end-to-end path of a message as it travels through the Exchange organization. "

    http://technet.microsoft.com/en-us/library/cc546658.aspx

    So I am running

    getmessagetrackingloge2ewithtime.ps1 -messageid "fjseoifjoisef84@mail2.domain.com"

    This MessageID corresponds to the ID of a message I recvd in my Outlook inbox.

    However, nothing is displayed in the output of my Powershell command. And I am running the command on a HT server.

    Any ideas?
    Sunday, December 13, 2009 7:18 PM

Answers

  • Hi,

    Please use the following cmdlt to search the message tracking log.

    getmessagetrackingloge2ewithtime.ps1 -messageid:id -messagesubject:subject -sender:sender

    Note:messageid should like as: 000201befa2b$d62c2e70$79b41eac@exchange.example.com 

    Besides: you can use get-messsagetrackinglog -sender:"sender" |fl to check the message log.

    Regards,
    Xiu
    • Proposed as answer by Xiu Zhang Tuesday, December 22, 2009 3:19 AM
    • Marked as answer by Sheen1990 Wednesday, December 23, 2009 11:29 PM
    Thursday, December 17, 2009 7:40 AM
  • Yes, I think so.

    Regards,
    Xiu
    • Marked as answer by Sheen1990 Wednesday, December 23, 2009 11:29 PM
    Tuesday, December 22, 2009 3:18 AM

All replies

  • Hi,

    Please use the following cmdlt to search the message tracking log.

    getmessagetrackingloge2ewithtime.ps1 -messageid:id -messagesubject:subject -sender:sender

    Note:messageid should like as: 000201befa2b$d62c2e70$79b41eac@exchange.example.com 

    Besides: you can use get-messsagetrackinglog -sender:"sender" |fl to check the message log.

    Regards,
    Xiu
    • Proposed as answer by Xiu Zhang Tuesday, December 22, 2009 3:19 AM
    • Marked as answer by Sheen1990 Wednesday, December 23, 2009 11:29 PM
    Thursday, December 17, 2009 7:40 AM
  • Ah ok, so you have can't just use -messageid: xx as the only variable, you have to use others as well for the End to End tracking to work?
    Friday, December 18, 2009 7:19 PM
  • Yes, I think so.

    Regards,
    Xiu
    • Marked as answer by Sheen1990 Wednesday, December 23, 2009 11:29 PM
    Tuesday, December 22, 2009 3:18 AM