CmdID / PowerShell / Cmdlets / Export
Export-TransportRuleCollection
Use the Export-TransportRuleCollection cmdlet to export the transport rules in your organization. Exchange PowerShell reference
From the Exchange PowerShell reference 6 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the transport rule that you want to export.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-ExportLegacyRulesThe ExportLegacyRules switch is required to export transport rules from Exchange 2007.-FormatThe Format parameter specifics the format of the exported transport rule collection.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.