Get-MailboxReport.ps1

Link: http://exchangeserverpro.com/powershell-script-create-mailbox-size-report-exchange-server-2010/

Exchange Mailbox Information
Link: http://edmckinzie.wordpress.com/2012/04/16/exchange-2010-mailbox-count-database-size-and-average-to-html/

Create Exchange 2010 Mailbox Size Reports with PowerShell

Link: http://www.petri.com/create-exchange-2010-mailbox-size-reports-powershell.htm

Create Exchange 2010 Multiple Mailbox Reports with PowerShell

Link: http://www.petri.com/exchange-mailbox-report-powershell-multiple-inboxes.htm

Create Exchange 2010 Server Reports with PowerShell

Link: http://www.petri.com/create-exchange-2010-server-reports-powershell.htm

Exchange 2010 Mailbox Count, Database Size, and Average to HTML

Link: http://edmckinzie.wordpress.com/2012/04/16/exchange-2010-mailbox-count-database-size-and-average-to-html/

=======================================

Link: http://exchangeshare.wordpress.com/2009/07/

How do we find number of mailboxes and size of EDB file for each Database?

On Screen: Get-MailboxDatabase | Select Server, StorageGroupName, Name, @{Name=”Size (GB)”;Expression={$objitem = (Get-MailboxDatabase $_.Identity); $path = ”`\`\” + $objitem.server + ”`\” + $objItem.EdbFilePath.DriveName.Remove(1).ToString() + ”$”+ $objItem.EdbFilePath.PathName.Remove(0,2); $size = ((Get-ChildItem $path).length)/1048576KB; [math]::round($size, 2)}}, @{Name=”Size (MB)”;Expression={$objitem = (Get-MailboxDatabase $_.Identity); $path = ”`\`\” + $objitem.server + ”`\” + $objItem.EdbFilePath.DriveName.Remove(1).ToString() + ”$”+ $objItem.EdbFilePath.PathName.Remove(0,2); $size = ((Get-ChildItem $path).length)/1024KB; [math]::round($size, 2)}}, @{Name=”No. Of Mbx”;expression={(Get-Mailbox -Database $_.Identity | Measure-Object).Count}} | Format-table -AutoSize