Search This Blog

Friday 15 April 2016

Exchange distribution group usage

Was doing some housekeeping on the on-site (in 2016...I know) Exchange server.  I wanted to know whether some mailing list we still in use.

The following Exchange PowerShell parses the logs looking for the "expand" event that indicates that a list address has been used and expanded to find the recipients.

Get-MessageTrackingLog -EventID Expand -ResultSize Unlimited | ? {$_.RelatedRecipientAddress -like “listAddress@domain.com”} | ft Timestamp,Sender,MessageSubject -Autosize

No comments:

Post a Comment