Changing Exchange 2003 routing group connectors in Exchange 2007
Today I wanted to decommission one of my Exchange 2007 servers. The server was running the mailbox, client access and hub transport roles. I had installed these roles onto another server and migrated the mailboxes across. I had also moved the internet connector that this server had been running. The two areas that I was unsure of was I had to move all public folder replicas off this server onto a new box and I also had to move the site connector as this server was a bridgehead for the 2003 servers I had.
To move the bridgehead for the routing group connectors I used the following command
I had to change the outbound server on one connector and the inbound server on the other connector
Set-routinggroupconnector –identity
Set-routinggroupconnector –identity
Removing Public Folder Replicas
To move all content from a public folder database that you are removing to a public folder database on another server
1. Start the Exchange Management Shell.
2. If necessary, run the following command to change directories to the folder that contains the Exchange management scripts:
Set-Location "C:\Program Files\Microsoft\Exchange Server\Scripts"
3. To move all folder content from the database that you are removing to a public folder database on another server, run the following command:
.\MoveAllReplicas.ps1 -Server MySourceServer -NewServer MyTargetServer
Note:
This script operates by modifying the public folder replicas in a server's public folder hierarchy table. When you run the script, first the hierarchy changes are replicated, and then the contents of the public folders are replicated.
Note:
When you run this script, both the source and target servers must have a public folder database, and at least one of them must be a Microsoft Exchange Server 2007 Mailbox server.
Note:
When you run this script, an Exchange 2007 server that has the Hub Transport server role installed is required for replication to and from an Exchange 2007 public folder database.
5. When the script completes in the Exchange Management Shell, wait until all content is moved to the new server. This may take several hours. To check how many folders remain to be moved to the new server, run the following command. (When the move is completed, this command returns no results.)
Get-PublicFolderStatistics -Server
Note:
If the source database is dismounted before all its contents are moved, remount the database and run the MoveAllReplicas script again.