Answered Mailbox Creation/Location/Storage

  • Saturday, August 12, 2006 10:37 AM
     
     

    Is there a way in exchange 2007 when creating a mailbox to intelligently have the GUI suggest the correct location for the mailbox,

    eg I have 3 sites  Site A B and C and site C has 33 mailbox stores I want the user's mailbox to reside on the store with the least amount of users?

    When I visit my clients many time that will just create mailboxes on the first storage group first database.

All Replies

  • Monday, August 14, 2006 7:02 PM
     
     Answered

    The GUI lets you pick manually which one to choose, but there is no suggestion of which one has least users on it.

    However, this is easily scripted in PowerShell:

    get-mailboxdatabase -server myserver | get-mailbox | group Database

    This will show you which mailboxdatabase has what number of users. You can expand this to ALL your org by simply omitting the -server switch:

    get-mailboxdatabase  | get-mailbox | group Database

    Thanks, ~vivek