Enable-Mailbox: provisioning without -Database attribute (balance across mailbox databases)

We have a 16 Exchange 2013 Mailbox Databases. Of those 16, 12 have been 'Excluded from Provisioning'. 
We are trying to come up with a script or at least command to enable-mailbox for existing AD user accounts. 

The question is, we want the enable-mailbox command to balance or randomly create mailboxes across databases and not just on one specific database. 

Can this be done? 


March 17th, 2015 3:18pm

Divide the database to spell:
DB(AB)
DB(CD) ...
and make the powershell script, which is the first letter in the e-mail will assign the appropriate database.
Free Windows Admin Tool Kit Click here and download it now
March 17th, 2015 5:39pm

Hi,

From your description, I would like to clarify the following thing:

Automatic distribution is used when you don't specify the Database parameter on the Enable-Mailbox cmdlet. This process randomly distributes mailboxes across all of the suitable mailbox databases in your organization.

If you also want the mailboxes to be distributed to the other 12 databases, you can run the cmdlet below to set the IsExcludedFromProvisioning to $false for them.

Set-MailboxDatabase <database name> -IsExcludedFromProvisioning $false

Hope my clarification can be helpful to you.

Best regards,

March 18th, 2015 3:47am

Awesome, thank you both. 
Free Windows Admin Tool Kit Click here and download it now
March 18th, 2015 11:33am

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

Other recent topics Other recent topics