Cloning Exchange 2010 Database Settings from a source Database

Exchange 2010 Databases have a number of common configurable properties – for example;

OfflineAddressBook: \Default Offline Address Book

ProhibitSendReceiveQuota : 600 MB (629,145,600 bytes)

ProhibitSendQuota: 500 MB (524,288,000 bytes)

DeletedItemRetention: 30.00:00:00

IssueWarningQuota: 400 MB (419,430,400 bytes)

MailboxRetention: 60.00:00:00

All of the above can set on a per databases basis via the Exchange Management Console or via the Exchange Management Shell.

Working with these settings on a per database level when you only have 5 databases within your environment is not very difficult – however, if you have 20 or more that you wish to share common settings, configuring theses values can become very time consuming and repetitive – especially via the Management Console.

However the following is a sample Powershell script which you can customise to suite your own needs (e.g. add further properties to copy, or inset a loop which copies settings to all DB’s on a certain server) that will copy the settings that you specify from a template database to a source database:

# Get a template Database and relevant properties (you can get more by retrieving them via the Get-MailboxDatabase CMDlet) that you wish to "copy" into a variable called $Template

Latest Podcast

Featured Freeware

Recommended

Follow Us

Cloning Exchange 2010 Database Settings from a source Database

TECHGENIX

TechGenix reaches millions of IT Professionals every month, and has set the standard for providing free technical content through its growing family of websites, empowering them with the answers and tools that are needed to set up, configure, maintain and enhance their networks.