Memorise

Uninstalling Exchange 2007

The local computer is responsible for generating the offline address book

http://technet.microsoft.com/en-gb/library/d0faeb2a-79d3-4ded-aa40-20f3b187b414.aspx

To move offline address book generation using Exchange Management Console 

  1. Open the Exchange Management Console.
  2. Expand Microsoft Exchange, expand Organization Configuration, and then select Mailbox.
  3. In the results pane, click the Offline Address Book tab.
  4. On the Offline Address Book tab, select the offline address book you want to move. In the action pane, click Move.
  5. After the Move Offline Address Book Wizard appears, select the new server to host the offline address book generation by using the Browse button and then click Move.
  6. To close the wizard, click Finish.

To use the Exchange Management Shell to move offline address book generation 

Run the following command:

Move-OfflineAddressBook -Identity <OfflineAddressBookIdParameter> -Server <ServerIdParameter> [-DomainController <String>]

 

To use the Exchange Management Shell to move all public folder content in a database to a new public folder database 

http://technet.microsoft.com/en-us/library/dd876883(EXCHG.140).aspx

Remove a public folder database from a Mailbox server

Step 1: Delete unnecessary public folders
Step 2: Move the public folder replicas to another server
Step 3: Associate mailbox databases with another default public folder database
Step 4: Remove the public folder database
Note: If you successfully perform Step 1 through Step 4 and you receive an error message stating that the public folder database can’t be removed because it contains replicas, you may need to wait several hours for public folder replication to finish.

Verify that all public folders have been removed by running

Get-PublicFolderStatistics

To identify the public folder databases that are associated with all mailbox databases, run the following command

Get-MailboxDatabase | ft Name,PublicFolderDatabase

To move all public folder content from Server01 to Server02, run the following command:

MoveAllReplicas.ps1 -Server Server01 -NewServer Server02

To use the Exchange Management Shell to move content in a tree of folders from one server to another

To move the public folder called Legal and all of the folders within that hierarchy from Server01 to Server02, run the following command:

ReplaceReplicaOnPFRecursive.ps1 -TopPublicFolder “\Legal” -ServerToAdd Server02 -ServerToRemove Server01 

If you Still get Error about Public Folder Replication then check to make sure you have a backup of Public Folder Database then follow the steps below

User Public Folders: 

Get-PublicFolder -Server <server containing the public folder database> “\” -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <server containing the public folder database> -Recurse -ErrorAction:SilentlyContinue

System Public Folders:

Get-PublicFolder -Server <server containing the public folder database> “\Non_Ipm_Subtree” -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <server containing the public folder database> -Recurse -ErrorAction:SilentlyContinue

Final Couple of Error on Removing Exchange

Error: Object is read only because it was created by a future version of Exchange
This will mean you are unable to uninstall exchange 2007

RESOLUTION

An easier way I found was to open up PowerShell on your Exchange 2010 Server and type

Remove-PublicFolderDatabase -Identity “<SERVER NAME>\First Storage 
Group\Public Folder Database”
(Important: Modify the Storage Group & Database name to your environment ) 


When you try to uninstall Exchange Server 2007, the uninstall operation stops responding when it runs the task to remove Exchange files

This problem occurs because a custom action invokes the Powershell.exe process but never executes the action.

RESOLUTION

To resolve this problem, open Task Manager, and then end the Powershell.exe process. The Powershell.exe process will restart immediately and then complete the uninstall operation.


Categorised as: Exchange, Microsoft


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.