Link to home
Start Free TrialLog in
Avatar of Manoj Bojewar
Manoj BojewarFlag for India

asked on

Last time email received by DL

Hello Expert,

I have Exchange 2013 single mailbox+ CAS server role. I have total 300 DL, I would like to find out last email received   time stamp for all DL. could you please help me to get the right script for the same
Avatar of Simon Butler (Sembee)
Simon Butler (Sembee)
Flag of United Kingdom of Great Britain and Northern Ireland image

That information isn't stored by Exchange or the domain.

The best you can do is query message tracking logs, but as those are only stored for 14 days, the results cannot be depended on.

Simon.
Avatar of Manoj Bojewar

ASKER

thats fine. i have 30 days logs enable on my servers. even if get report for last 30 days DL last email stamp works for me.

Currently, i am using below command to get individual last email time stamp.

get-messagetrackinglog -recipients "test@abc.com" -resultsize unlimited |select-object recipients,timestamp |sort timestamp -descending
ASKER CERTIFIED SOLUTION
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada 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
this script is not working. please help me how to run this.