find large emails using EMS

I want to find large individuals emails (lets say over 10mb) in users mailboxes.

Can this be done with Exchange Management Shell?
If possible, can someone give me an EMS Code Example?

As output I would like to display: User mailbox name, mailbox folder, email subject and total size of email.

Thanks

August 6th, 2015 9:33am

Hi. Exchange 2010 EMS 

Get-Mailbox -ResultSize Unlimited | Get-MailboxFolderStatistics -IncludeAnalysis -FolderScope All | Where-Object {$_.TopSubjectSize -gt 10MB} | Select-Object Identity, TopSubject, TopSubjectSize | Export-CSV -path "C:\report\10MB_report.csv" -notype

Free Windows Admin Tool Kit Click here and download it now
August 6th, 2015 9:46am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics