get-mailbox -resultsize unlimited | Get-MailboxFolderStatistics -IncludeAnalysis | ` where { $_.topSubjectSize -gt 25MB } | select identity,topsubjectsize | ` Export-Csv -Path .\LargeItems.csv -Encoding UnicodeThis one liner finds items in folders in user mailboxes larger than 25MB. There can however be several items large than 25MB as the command only finds the largest.
A report for finding and reporting individual items will be a later issue.
No comments:
Post a Comment