Forum Discussion
PMorgan_1116
Feb 21, 2020Brass Contributor
Retrieving email/storage space statistics from Exchange
I have a client asking to do the following: "we need to get the total size of all messages with dates between 5/1/16 and 4/30/17." Basically they want to purge anything between those dates, but ...
PMorgan_1116
Feb 24, 2020Brass Contributor
VasilMichev Thank you for the reply! I have suggested the eDiscovery reports to the client and they are checking that out.
If they are really wanting to use PowerShell, any suggestions on how to do that? I'm thinking maybe the New-ComplianceSearch or Search-Mailbox cmdlets, but maybe I'm off base (will both of these allow searching ALL mailboxes in the organization with the date range criteria and report necessary information - total # messages, total size, etc)? If there is a better option, I'd appreciate the suggestion! Thank you!
VasilMichev
Feb 24, 2020MVP
Yes, both cmdlets can search across all mailboxes and generate reports of the found messages/matches.
- PMorgan_1116Feb 24, 2020Brass Contributor
VasilMichev Thank you!