Article ID: 2846555 - View products that this article applies to.
You cannot migrate transport rules in Microsoft Exchange Server 2007 Service Pack 3 (SP3) are not migrated during the installation of Microsoft Exchange Server 2013.
To work around this issue, follow these steps:
The following example cmdlet exports all the transport rules to the ExportedRules.xml file and then saves the file in the "c:\TransportRules" folder:
Export-TransportRuleCollection -FileName "c:\TransportRules\ExportedRules.xml"
The following example cmdlet imports the transport rule collection from the XML file ExportedRules.xml in the "C:\TransportRules" folder:
[Byte]$Data = Get-Content -Path "C:\TransportRules\ExportedRules.xml" -Encoding Byte -ReadCount 0 Import-TransportRuleCollection -FileData $Data
You must have Exchange Server 2007 SP3 installed before you run the export command. You can run this cmdlet on any remaining Exchange Server 2007 SP3 server, even if you have upgraded some servers to Exchange Server 2013.
After the export is completed, copy the file that you exported by using Export-TransportRuleCollection to anExchange Server 2013 server, and then execute the Import-TransportRuleCollection cmdlet to manually migrate the Transport rules to Exchange Server 2013.
For more information, go to the following Microsoft TechNet website:
How Transport rules are applied