Forum Discussion
Freshie
Aug 28, 2024Copper Contributor
List all DL's in on-prem Exchange with Zero members
We are trying to clean up our 1000's of Distribution Lists before migrating them to 365. Could somebody please help me with a script that would accomplish this? I have tried everything I can think ...
Freshie
Aug 28, 2024Copper Contributor
Great! it looks I was able to use some snippets from your code to get what I needed.
I also have another question but to my knowledge this is not possible. Is there a way to determine the last time a message was sent to a DL?
Thanks!
I also have another question but to my knowledge this is not possible. Is there a way to determine the last time a message was sent to a DL?
Thanks!
JeremyTBradshaw
Aug 28, 2024Iron Contributor
For on-premises, you can use Get-MessageTrackingLog and put the DL into the -Recipient parameter, should work, but only looks back as far as your logs go. In EXO, Message Trace will work too, goes back 90 days max.
Keeping an eye on some DL's periodically and tracking over time, is the only way I can think of.
Keeping an eye on some DL's periodically and tracking over time, is the only way I can think of.