Zee
asked on
Export list and item count of mailboxes
I have Exchange 2013 and have the command to get a list of mailboxes and total size of each but I'd like pull a list with the item count in each of the mailboxes as you can in Outlook on individual mailboxes. How would I do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Saif, thank you. That looks good but it shows 1 mailbox. We are trying to get our users to do some cleanup and wanted to get stats before and after. Total Mailbox items and Mailbox size. It does help to have that script for individuals, though. Thanks again.
ASKER
Deman, thank you. This gets me the info I need. I appreciate your input.
The results will look like this:
OR
Get-MailboxFolderStatistics -Identity <username> | Sort-Object FolderSize -Descending | FT folderpath, foldersize, ItemsinFolder -autosize