Wednesday, July 23, 2008

Exchange2007:Move-Mailbox -ConfigurationOnly

www.1ask2.com

Move-mailbox -configurationOnly to direct the mailbox to a functional server. The mailbox content is not moved.

Exchange Server 1: TLC25
Exchange Server 2: TLCSV167

TLCSV167\First Storage Group\Test database hosts mailboxes: test1 and test2. The good thing is that the database is already backed up.

Weird thing occurs. TLCSV167 whole server cannot be restored.

create a new mailbox database (dial tone) on TLC25 as:
TLC25\First Storage Group\Test database

From TLC25 computer, run the commandlet:

Get-MailBox -Database 'TLCSV167\First Storage Group\test database' (pipe) Move-Mailbox -ConfigurationOnly -TargetDatabase 'TLC25\First Storage Group\Test database'

Database Recovery Management Tool
Create a Recovery Storage Group for the 'TLC25\First Storage Group';

Using the backup/restore utility to restore the 'Test database' from TLCSV167 backup.

Mount the Recovery Storage Group\Test database;

Get-MailboxDatabase -server tlc25 -status (pipe) format-list Name, StorageGroup,mounted
Name : Mailbox Database
StorageGroup : TLC25\First Storage Group
Mounted : True
Name : test database

StorageGroup : TLC25\First Storage Group
Mounted : True

And then, you can directly run the merge or copy wizard.
Or, do the dial tone swap first and then merge or copy wizard.

Office 2007 clients and OWA can automatically discover the configuration change because of the AutoDiscover service. However, for Office 2003 clients, you must reconfigure their profiles.