So how the heck do you check mailbox sizes in Exchange 2007? There’s no GUI for it (yet). Maybe that will come in Service Pack 3. Or maybe we have to wait for Exchange 2010.
You can do it in Exchange Management Shell though. here’s the command:
get-mailbox | get-mailboxstatistics | select-object DisplayName,ItemCount,TotalItemSize,LastLogonTime,LastLogoffTime,LastLoggedOnUserAccount | ft
You’ll want to make sure your window size is set nice and wide to accomodate all of that data. I guess with all of the widescreen monitors being forced on us by the people who decide what is sexy to sell to us, that shouldn’t be too hard. if widescreen doesn’t work for you, just replace the “ft” at the end with “fl” for list format instead of table format. Harder to take in at a glance, but it will be nice and vertical.
Want to make an icon to double-click for this? Copy/paste the command into a text file, rename the extension to .ps1, and call it from Powershell like so:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -PSConsoleFile “C:\Program Files\Microsoft\Exchange Server\bin\exshell.psc1″ -noexit -command “. ‘d:\disks\exchstats.ps1′”