Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 119
  • Last Modified:

Office 365 Hyrbid environment need to find last time all Distribution groups were used

We run a Exchange 2013 Hybrid server in a office 365 cloud based environment.  All mailboxes are in cloud but all Distribution groups are on the hyrbid on prem server.  how can I get a report on last usage for these DG's?

Thanks
0
Twhite0909
Asked:
Twhite0909
1 Solution
 
Simon Butler (Sembee)ConsultantCommented:
That information isn't stored by Exchange/Windows.
The only way you can get some information is via message tracking, but if the group hasn't been used in the message tracking window (14 days by default I think it is) then you will get no results.

Simon.
0
 
Twhite0909Author Commented:
Ok how can I run a powershell cmd to show me activity in the messagetracking and pipe it to a CSV?
0
 
Sudhir BidyeCommented:
Get-messagetrackinglog -recipient <email of your group> | fl export-csv c:\results.csv

You can add more fiiltering parameters for get-messagingtrackinglog as per your requirement. More parameters are listed here.

https://technet.microsoft.com/en-us/library/aa997573%28v=exchg.150%29.aspx
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now