[star]Exchange-Genie
November 15, 2009 11:12
by Exchange Genie
User Count Per database

I just tossed togethor a quick little script that will easily display the database name and user count per database

//this scripts gets all the database name and counts the number of users perdb

$dblist=Get-MailboxDatabase

($dblist | %{write-host $_.name (get-mailbox -database $_.name).count})

E14 Exchange 2007 SP1 Exchange 2007 SP2 exchange 14 exchange 2007 exchange 2010 exchange management shell

Posted via email from johnacook’s posterous