- Export all transport rules from Exchange Server 2007 SP3 by using the Export-TransportRuleCollection cmdlet. The required minimum version of Exchange Server 2007 for transport rule migration is Exchange Server 2007 SP3.
- Copy the file that is exported by Export-TransportRuleCollection to a computer that is running Microsoft Exchange Server 2013.
- Import transport rules from the file to Exchange Server 2013 by using the Import-TransportRuleCollection cmdlet.
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
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:
Article ID: 2846555 - Last Review: May 31, 2013 - Revision: 1