Link to home
Start Free TrialLog in
Avatar of jjoz
jjozFlag for Australia

asked on

get-messagetrackinglog returns no result ?

Hi All,

I'm trying to get email log by using the script from MS Exchange Troubleshooting Assistant and then customizing it further:


but it returns no result, is there something wrong with the syntax ? or is there any other logging option that i should enable ?

Thanks
get-messagetrackinglog -Recipients:myself@domain.com -Sender "sender@outsidedomain.com" -EventID "RECEIVE" -Start "1/04/2009 5:00:00 PM" -End "28/04/2009 5:31:00 PM

Open in new window

Avatar of Akhater
Akhater
Flag of Lebanon image

First thing I suggest you do is to try to use the GUI instead it will put aside the potential syntax error.

also try it without the -EventID

finally do you have multiple exchange servers or just one ?
Avatar of jjoz

ASKER

this is just one single server (HT-CAS-MBX) but I couldn't get any result from both GUI and powershell ?
when you used the GUI did you remove the checkbox of EventID ?

did you click on "resolve receipient" after you entered your email address ?


try  this

get-messagetrackinglog -Sender "sender@outsidedomain.com" -EventID "RECEIVE" -Start "1/04/2009 5:00:00 PM" -End "28/04/2009 5:31:00 PM

Open in new window

Avatar of jjoz

ASKER

but it does work with the other -Sender "sender2@outsidedomain.com" ?!?!

yes, I did
clicked the RESOLVE Receipient button to check my domain user mailbox

EventID unchecked as well for greater range.
Avatar of jjoz

ASKER

The result from your script still couldn't be displayed even though the script has completed. I wonder what makes the result empty ?
>>but it does work with the other -Sender "sender2@outsidedomain.com" ?!?!<<

Ok you didn't tell us this before

so you can find for sender2@outsidedomain.com but not for sender@outsidedomain.com ??

are sender and sender2 in the same outsidedomain.com ???

are you sure that "sender@outsidedomain.com" did send you an email in the given period ?

what if you try

get-messagetrackinglog -Recipients:myself@domain.com -EventID "RECEIVE" -Start "1/04/2009 5:00:00 PM" -End "28/04/2009 5:31:00 PM

and check all emails you got in that period of time maybe it is showing in the log as something else then "sender@outsidedomain.com"

Hi,
You got to make sure that MT is enabled first - http://www.msexchange.org/tutorials/Exchange-2007-Message-Tracking-Part1.html
Then first try using the simple command and see if anything is returned: get-messagetrackinglog -Sender sender@outsidedomain.com
Let me know
Thanks
Nitin Gupta (gupnit)
@gupnit

he said it is working for sender2@outsidedomain.com so message tracking is enabled

Avatar of jjoz

ASKER

To All,

the following cmdlets work fine to me:

which is very2 confusing :-|

get-messagetrackinglog -Sender "myself@gmail.com" -Recipients "myself@domain.com.au" -EventId "DELIVER"

Open in new window

so I guess that
 
myself@gmail.com = "sender@outsidedomain.com" ???? which was not working

and that "myself@domain.com.au" = myself@domain.com of your previous post ??
 

you also told me that it didn't give any result without EventID what am i missing here?
Avatar of jjoz

ASKER

"myself@gmail.com = "sender@outsidedomain.com" ???? which was not working "
no it's two different recipient.

while ""myself@domain.com.au" = myself@domain.com"" is the same. and that is me.

well i guess the email hasn't been received or re-sent during the my mail server outage yesterday.

so if all is working why can't it just be that "sender@outsidedomain.com" simply didn't sent any message during that period of time ?

Have you received anything from him/her in that period ?

Avatar of jjoz

ASKER

(-_-)".. pardon me guys...
i guess I'll have to give up since they haven't sent the email meaning that it won't be recorded by the Agentlog....(unless the server is psychic :-) )
oki :)
You might need to add -SERVER "servername" as well.

I've found, that running the Message Tracking Tool from my administation machine doesnt work, until I changed the server from the default of "my local ip" to the actual server name I want to run the tracking against.

Mark
ASKER CERTIFIED SOLUTION
Avatar of jjoz
jjoz
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial