You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online, Exchange Online Protection
4
+
applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
5
5
title: Import-TransportRuleCollection
6
6
schema: 2.0.0
7
7
author: chrisda
@@ -12,7 +12,9 @@ ms.reviewer:
12
12
# Import-TransportRuleCollection
13
13
14
14
## SYNOPSIS
15
-
This cmdlet is available in on-premises Exchange and in the cloud-based service. Some parameters and settings may be exclusive to one environment or the other.
15
+
**Note**: This parameter will be deprecated in Exchange Online PowerShell. For replacement functionality using a PowerShell script, see [Import or export a mail flow rule collection in Exchange Online](https://learn.microsoft.com/exchange/security-and-compliance/mail-flow-rules/manage-mail-flow-rules#import-or-export-a-mail-flow-rule-collection-in-exchange-online).
16
+
17
+
This cmdlet is available only in on-premises Exchange.
16
18
17
19
Use the Import-TransportRuleCollection cmdlet to import a transport rule collection. You can import a rule collection you previously exported as a backup, or import rules that you've exported from an older version of Exchange.
18
20
@@ -60,7 +62,7 @@ The Identity parameter specifies the transport rule that you want to import. You
60
62
Type: RuleIdParameter
61
63
Parameter Sets: (All)
62
64
Aliases:
63
-
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online, Exchange Online Protection
65
+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
64
66
65
67
Required: False
66
68
Position: 1
@@ -78,7 +80,7 @@ A valid value for this parameter requires you to read the file to a byte-encoded
78
80
Type: Byte[]
79
81
Parameter Sets: (All)
80
82
Aliases:
81
-
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online, Exchange Online Protection
83
+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
82
84
83
85
Required: True
84
86
Position: 1
@@ -97,7 +99,7 @@ The Confirm switch specifies whether to show or hide the confirmation prompt. Ho
97
99
Type: SwitchParameter
98
100
Parameter Sets: (All)
99
101
Aliases: cf
100
-
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online, Exchange Online Protection
102
+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
This parameter is available only in on-premises Exchange.
111
-
112
112
The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name (FQDN). For example, dc01.contoso.com.
113
113
114
114
The DomainController parameter isn't supported on Edge Transport servers. An Edge Transport server uses the local instance of Active Directory Lightweight Directory Services (AD LDS) to read and write data.
@@ -135,7 +135,7 @@ You can use this switch to run tasks programmatically where prompting for admini
135
135
Type: SwitchParameter
136
136
Parameter Sets: (All)
137
137
Aliases:
138
-
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online, Exchange Online Protection
138
+
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
139
139
140
140
Required: False
141
141
Position: Named
@@ -151,7 +151,7 @@ The WhatIf switch simulates the actions of the command. You can use this switch
151
151
Type: SwitchParameter
152
152
Parameter Sets: (All)
153
153
Aliases: wi
154
-
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online, Exchange Online Protection
154
+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
0 commit comments