Distribution groups on Exchange 2007

Hi,

I want to know when the distribution mail groups were last used. where can I get the information from.

Please assist.

navin_peddiAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
endital1097Connect With a Mentor Commented:
you want to run it like the following

Get-MessageTrackingLog -EventID Expand -ResultSize unlimited | where { $_.RelatedRecipientAddress -eq (Get-DistributionGroup <GroupName>).PrimarySmtpAddress }

you could then export to a file

Get-MessageTrackingLog -EventID Expand -ResultSize unlimited | where { $_.RelatedRecipientAddress -eq (Get-DistributionGroup <GroupName>).PrimarySmtpAddress } | export-csv c:\groupresults.csv
0
 
endital1097Connect With a Mentor Commented:
you would need to buy a third party utility to monitor mail flow
0
 
Manpreet SIngh KhatraConnect With a Mentor Solutions Architect, Project LeadCommented:
Add resultsize parameter

Get-MessageTrackingLog -EventID Expand -ResultSize unlimited | ? {$_.RelatedRecipientAddress -like "DG-churchsstoresall@churchs.com"} | ft Timestamp,Sender,MessageSubject -Autosize
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
endital1097Connect With a Mentor Commented:
you could use the message tracking log, but it is only as good as the oldest log file you have
0
 
e_aravindConnect With a Mentor Commented:
Process Tracking Log tool for Exchange Server 2007
http://msexchangeteam.com/archive/2008/02/07/448082.aspx
0
 
navin_peddiAuthor Commented:
If I use the shell command which is mentioned below does the information gets exported to a file. If so where can I locate the file. I have run the script in shell but it returns nothing but goes to next prompt.
0
 
Manpreet SIngh KhatraConnect With a Mentor Solutions Architect, Project LeadCommented:
You can always use the Export-CSV command as shared by endital .... thanks buddy :)
0
 
endital1097Connect With a Mentor Commented:
you provided it rancy

i actually have a similar script that runs daily and writes the results to SQL
overcomes the issue with limited number of logs
0
 
navin_peddiAuthor Commented:
Thanks for the information
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.