Link to home
Start Free TrialLog in
Avatar of ttrbrtsn
ttrbrtsnFlag for United States of America

asked on

cmdlet for querying users inbox

i have over 600 users. i would like to know who has the most emails in their inbox. is there a cmdlet for powershell to give me these stats?

thanks
Avatar of Adam Farage
Adam Farage
Flag of United States of America image

You can get a nice report by using a powershell script I always use, which is Get-MailboxReport from Paul Cunningham: http://exchangeserverpro.com/get-mailboxreport-ps1-v1-02-released/

I would recommend this. You can format the Excel spreadsheet out so it is presentable, and then figure out who has what in each folder listed within the mailbox. I use this report all the time for Exchange sizing.
Avatar of Justin Yeung
Get-Mailbox -Database DatabaseName -resultsize unlimited | % {Get-MailboxStatistics $_ | select DisplayName,ItemCount | Sort-Object ItemCount}
ASKER CERTIFIED SOLUTION
Avatar of suriyaehnop
suriyaehnop
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ttrbrtsn

ASKER

not exactly what im looking for