What mailboxes are in what stores?
Hi --- Is there a powershell script to display which mailboxes belong in what store? thanks!
December 28th, 2010 3:24pm

"Get-MailboxStatistics | fl" should get you started.
Free Windows Admin Tool Kit Click here and download it now
December 28th, 2010 3:56pm

Try running >get-mailbox -server servername -resultsize unlimited | get-mailboxstatistics | select displayname, database | fl or to a csv >get-mailbox -server servername -resultsize unlimited | get-mailboxstatistics | select displayname, database | export-csv "c:\temp\export.csv" This should list out the name, database include the servername\storagegroup\database
December 28th, 2010 7:48pm

On Wed, 29 Dec 2010 00:44:07 +0000, Michael Vi wrote: >Try running > >>get-mailbox -server servername -resultsize unlimited | get-mailboxstatistics | select displayname, database | fl > >or to a csv > >>get-mailbox -server servername -resultsize unlimited | get-mailboxstatistics | select displayname, database | export-csv "c:\temp\export.csv" > >This should list out the name, database include the servername\storagegroup\database Why is the "get-mailboxstatistics" necessary? That seems like an unnecessary step that could add a lot of time (and work) that adds nothing to what can be retreived just from the AD. get-mailbox | ft name,database or get-mailbox | select name,database | export-csv . . . --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
December 28th, 2010 9:40pm

"Get-MailboxStatistics | fl" should get you started.
December 28th, 2010 11:52pm

Thanks Rich - That worked like a charm!
Free Windows Admin Tool Kit Click here and download it now
January 2nd, 2011 1:51pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics