Powershell Recipient Count for Exchange 2007
The other day I wanted to get a quick count of how many recipients I had in the enterprise. Of course, I wanted to be able to run a powershell command instead of going into the EMC. I fooled around with the Get-MailboxStatistics command until I got what I wanted and figured it would be a nice little one liner to share:
Get-MailboxStatistics | group MailboxDatabase | format-table count
This is a very simple command that just outputs the count (number) of recipients you have on a given exchange mailbox server. Of course, if you have more than one server you’ll need to specify that inside the command. Since I only have one, it’s pretty simple.
UPDATED: Please note that this returns ALL recipients…not just mailboxes (as I thought when I initially posted this). That means contacts, distribution groups, etc. For a way to find how many user mailboxes you have in each database check this post. Thanks for reading!
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
Tags
2003 2007 2010 active directory active sync activesync address blackberry blog blogging cell phone database DDL delegates dynamic dynamic distribution lists eas exchange ghost global green group groups hub ifitsgreen ldap list lists logs mailbox mailboxes mailing lists microsoft migration phantom powershell query security send on behalf of smart phone smtp technology transport users windows




