I found this, but it only does 30 days he doesn't say how to get it to do 90 days. I actually want to do a year. I did pull a report from this. I see a spot where he put 90 days in but it does in fact pull 30days

The following PowerShell commands will generate a list of distribution groups that have received mail in the last 30 days. The second command pulls data from the Exchange Tracking Logs which only keep 30 days worth of data by default.

The following command gets the logging information needed from server.