How to Upgrade Exchange 2007 to Exchange 2010 SP2 - Part2 ------------------------------------------------------------------------------ 2. Replicate Public Folders, add Exch. 2010 as OAB distribution server, move OAB -------------------------------------------------------------------------------- 2.1 Check the status of IPM subtree ----------------------------------- #IPM subtree stands for interpersonal messages subtree - messages exchanged #between human recipients #IPM_Subtree contains folders visible and accessible directly by users and clients Get-publicfolder -recurse | fl name,replicas 2.2 Replicate IPM subtree ------------------------- #First switch to the Exchange Scripts directory cd $exscripts #Then replicate to Exchange 2010 server - replace E-10 with the name of your Exchange 2010 server .\AddReplicatoPFRecursive.ps1 -TopPublicFolder "\" -ServerToAdd e-10 2.3 Check the status non-IPM subtree ------------------------------------ #The non-IPM_Subtree contains operational metadata - folders not directly accessible by users. Get-publicfolder \non_ipm_subtree -recurse | fl name,replicas 2.4 Replicate non-IPM subtree ---------------------------- #Replace E-10 with the name of your Exchange 2010 server .\AddReplicatoPFRecursive.ps1 -TopPublicFolder "\non_ipm_subtree" -ServerToAdd E-10 2.5 Double-check Public Folder Replication ------------------------------------------ Get-publicfolder -recurse | fl name,replicas Get-publicfolder \non_ipm_subtree -recurse | fl name,replicas 2.6 Move Offline Address Book 2.7 Add Exchange 2010 CAS as OAB distribution server 2.8 Force downloading the latest OAB #Replace E-10 with the name of your Exchange 2010 server Update-FileDistributionService E-10 2.9 Specify OAB for the Mailbox Database 3. Install UCC (Unified Communications Certificate) 4. Change mail flow settings 4.1 Modify/Create Internet Send Connector 4.2 Modify Default Receive Connector to receive messages from Internet 4.3 (Optional) If you have documented SMTP Relay exceptions for IP Addresses (local devices or apps) - create new receive connector for the relay exceptions. 4.4 Enable Outlook Anywhere - set Exchange 2010 Public name as the External Host Name 4.5 Modify Router/Firewall Settings - allow inbound/outbound mail through Exchange 2010. Port 443 (OWA and Outlook Anywhere) should be forwarded to Exchange 2010. 5. Change remote client access settings 5.6 Disable Outlook Anywhere in Exchange 2007 5.7 Configure ActiveSync URL in Exchange 2007 5.8 Configure legacy namespace in external OWA URL - Exchange 2007 EMC 5.9 Configure legacy namespace in OAB distribution external URL - Exchange 2007 EMC 5.10 Configure legacy namespace in Web Services external URL - Exchange 2007 EMS #Replace E-2k7 with the name of your Exchange 2007 server #Check current external URL Get-WebServicesVirtualDirectory -Server E-2k7 | select ExternalUrl #Set external URL - replace E-2k7 with the name of your Exchange 2007 server #Replace legacy.netometer.com with actual legacy namespace Set-WebServicesVirtualDirectory -Id E-2k7\* -ExternalUrl https://legacy.netometer.com/EWS/Exchange.asmx #Confirm the change with Get-WebServicesVirtualDirectory 6. Move mailboxes 6.1 Using Exchange Management Console - New Local Move Request 6.2 Using Exchange Management Shell - bulk processing of all legacy mailboxes #List Exchange 2007 mailboxes #Replace E-2k7 with the name of your Exchange 2007 server #replace MBX1-E10 with the name of your Exchange 2010 MBX database Get-Mailbox -Server E-2k7 #Move all E-2k7 mailboxes Get-Mailbox -Server E-2k7 | New-MoveRequest -TargetDatabase MBX1-E10 #Check status Get-MoveRequest Get-MoveRequest –MoveStatus Completed Get-MoveRequest -MoveStatus Failed 6.3 Check Move Request status and Move Request Log. Clear Move Request!!! Get-MoveRequest –MoveStatus Completed | Remove-MoveRequest 7. Remove Exchange 2007 Public Folder and Mailbox Databases 7.1 List and compare the Public folders on Exchange 2007 and Exchange 2010 servers Get-PublicFolderStatistics -Server E-2k7 Get-PublicFolderStatistics -Server E-10 # If necessary, you can export the lists to text files Get-PublicFolderStatistics -Server E-E2k7 | out-file PFE-2k7.txt Get-PublicFolderStatistics -Server E-10 | out-file PFE-10.txt 7.2 Move all public folder replicas to Exchange 2010 cd $exscripts .\MoveAllReplicas.ps1 -Server E-2k7 -NewServer E-10 7.3 Update public folder hierarchy on Exchange 2010 Update-PublicFolderHierarchy -Server E-10 7.4 !!! Confirm, that there are no PF replicas on Exchange 2007 Get-PublicFolderStatistics -Server E-2k7 7.5 !!! First, you need to remove Exchange 2007 Mailbox Database, as it is using # Exchange 2007 PF as the default Public Folder database referral 7.6 Then, you need to remove Exchange 2007 Public Folders in Exchange 2010 management shell Get-PublicFolderDatabase -Server E-2k7 | Remove-PublicFolderDatabase 8.0 Uninstall Exchange 2007 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: http://www.netometer.com :: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::