Skip to content

Commit 611b74c

Browse files
authored
Merge pull request MicrosoftDocs#8076 from MicrosoftDocs/chrisda
Chrisda to Master
2 parents 61c8743 + 2e9704a commit 611b74c

8 files changed

+55
-23
lines changed

exchange/exchange-ps/exchange/Disable-SafeAttachmentRule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414
## SYNOPSIS
1515
This cmdlet is available only in the cloud-based service.
1616

17-
Use the Disable-SafeAttachmentRule cmdlet to disable safe attachment rules in your cloud-based organization.
17+
Use the Disable-SafeAttachmentRule cmdlet to disable safe attachment rules in your cloud-based organization. This cmdlet is also responsible for disabling complete Safe Attachments policies in the admin center, which consist of the safe attachment rule and the corresponding assigned safe attachment policy in PowerShell.
1818

1919
**Note**: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
2020

exchange/exchange-ps/exchange/Enable-SafeAttachmentRule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414
## SYNOPSIS
1515
This cmdlet is available only in the cloud-based service.
1616

17-
Use the Enable-SafeAttachmentRule cmdlet to enable safe attachment rules in your cloud-based organization.
17+
Use the Enable-SafeAttachmentRule cmdlet to enable safe attachment rules in your cloud-based organization. This cmdlet is also responsible for disabling complete Safe Attachments policies in the admin center, which consist of the safe attachment rule and the corresponding assigned safe attachment policy in PowerShell.
1818

1919
**Note**: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
2020

exchange/exchange-ps/exchange/New-AntiPhishPolicy.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,8 @@ This setting is part of impersonation protection and is only available in Micros
444444

445445
The ExcludedDomains parameter specifies an exception for impersonation protection that looks for the specified domains in the message sender. You can specify multiple domains separated by commas.
446446

447+
The maximum number of entries is approximately 1000.
448+
447449
```yaml
448450
Type: MultiValuedProperty
449451
Parameter Sets: (All)
@@ -462,6 +464,8 @@ This setting is part of impersonation protection and is only available in Micros
462464

463465
The ExcludedSenders parameter specifies an exception for impersonation protection that looks for the specified message sender. You can specify multiple email addresses separated by commas.
464466

467+
The maximum number of entries is approximately 1000.
468+
465469
```yaml
466470
Type: MultiValuedProperty
467471
Parameter Sets: (All)

exchange/exchange-ps/exchange/New-SafeAttachmentPolicy.md

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ New-SafeAttachmentPolicy [-Name] <String>
3939
## DESCRIPTION
4040
Safe Attachments is a feature in Microsoft Defender for Office 365 that opens email attachments in a special hypervisor environment to detect malicious activity. For more information, see [Safe Attachments in Defender for Office 365](https://docs.microsoft.com/microsoft-365/security/office-365-security/atp-safe-attachments).
4141

42-
New policies that you create using this cmdlet aren't applied to users and aren't visible in admin centers. You need to use the SafeAttachmentPolicy parameter on the New-SafeAttachmentRule or Set-SafeAttachmentRule cmdlets to associate the policy with a rule.
42+
New safe attachment policies that you create using this cmdlet aren't applied to users and aren't visible in the admin center. You need to use the SafeAttachmentPolicy parameter on the New-SafeAttachmentRule or Set-SafeAttachmentRule cmdlets to associate the policy with a rule to create a complete Safe Attachments policy that's visible in the admin center.
43+
44+
A safe attachment policy can be assigned to only one safe attachment rule.
4345

4446
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
4547

@@ -50,7 +52,7 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
5052
New-SafeAttachmentPolicy -Name "Marketing Block Attachments" -Redirect $true -RedirectAddress [email protected]
5153
```
5254

53-
This example creates a new Safe Attachments policy named Marketing Block Attachments with the following options:
55+
This example creates a new safe attachment policy named Marketing Block Attachments with the following options:
5456

5557
- The action is Block. This is the default value of the Action parameter, so you don't need to specify it.
5658
- Enable redirection for detected malware attachments and send the messages to [email protected].
@@ -59,7 +61,7 @@ This example creates a new Safe Attachments policy named Marketing Block Attachm
5961
## PARAMETERS
6062

6163
### -Name
62-
The Name parameter specifies a unique name for the Safe Attachments policy. If the value contains spaces, enclose the value in quotation marks (").
64+
The Name parameter specifies a unique name for the safe attachment policy. If the value contains spaces, enclose the value in quotation marks (").
6365

6466
```yaml
6567
Type: String
@@ -75,13 +77,17 @@ Accept wildcard characters: False
7577
```
7678
7779
### -Action
78-
The Action parameter specifies the action for the Safe Attachments policy. Valid values are:
80+
The Action parameter specifies the action for the safe attachment policy. Valid values are:
7981
80-
- Allow: Attachments aren't scanned by Safe Attachments policies.
82+
- Allow: Deliver the message if malware is detected in the attachment and track scanning results. This value corresponds to **Monitor** for the **Safe Attachments unknown malware response** property of the policy in the admin center.
8183
- Block: Block the email message that contains the malware attachment. This is the default value.
8284
- Replace: Deliver the email message, but remove the malware attachment and replace it with warning text.
8385
- DynamicDelivery: Deliver the email message with a placeholder for each email attachment. The placeholder remains until a copy of the attachment is scanned and determined to be safe. For more information, see [How Dynamic Delivery works](https://docs.microsoft.com/microsoft-365/security/office-365-security/dynamic-delivery-and-previewing#how-dynamic-delivery-works).
8486
87+
The value of this parameter is meaningful only if the value of the Enable parameter is also $true (the default value is $false).
88+
89+
To specify no action for the safe attachment policy (corresponds to **Off** for the **Safe Attachments unknown malware response** property of the policy in the admin center), use the Enable parameter with the value $false.
90+
8591
The results of all actions are available in message trace.
8692
8793
```yaml
@@ -98,9 +104,9 @@ Accept wildcard characters: False
98104
```
99105
100106
### -ActionOnError
101-
The ActionOnError parameter specifies the error handling option for Safe Attachments scanning (what to do if scanning times out or an error occurs). Valid values are:
107+
The ActionOnError parameter specifies the error handling option for Safe Attachments scanning (what to do if attachment scanning times out or an error occurs). Valid values are:
102108
103-
- $true: The action specified by the Action parameter is applied to messages even when the attachments aren't successfully scanned. This is the default value.
109+
- $true: This is the default value. The action specified by the Action parameter is applied to messages even when the attachments aren't successfully scanned. This value is required when the Redirect parameter value is $true. Otherwise, messages might be lost.
104110
- $false: The action specified by the Action parameter isn't applied to messages when the attachments aren't successfully scanned.
105111
106112
```yaml
@@ -152,7 +158,12 @@ Accept wildcard characters: False
152158
```
153159

154160
### -Enable
155-
This parameter isn't used. To enable or disable a safe attachment policy, use the Enabled parameter on the New-SafeAttachmentRule or Set-SafeAttachmentRule cmdlets.
161+
The Enable parameter works with the Action parameter to specify the action for the safe attachment policy. Valid values are:
162+
163+
- $true: The Action parameter specifies the action for the Safe Attachment policy.
164+
- $false: This is the default value. Attachments are not scanned by Safe Attachments, regardless of the value of the Action parameter. This value corresponds to **Off** for the **Safe Attachments unknown malware response** property of the policy in the admin center.
165+
166+
To enable or disable a complete Safe Attachments policy in the admin center (the combination of the rule and the corresponding associated policy in PowerShell), use the Enable-SafeAttachmentRule or Disable-SafeAttachmentRule cmdlets.
156167

157168
```yaml
158169
Type: Boolean
@@ -184,10 +195,10 @@ Accept wildcard characters: False
184195
```
185196

186197
### -Redirect
187-
The Redirect parameter specifies whether to send detected malware attachments to another email address. Valid values are:
198+
The Redirect parameter specifies whether to deliver messages that were identified by Safe Attachments as containing malware attachments to another email address. Valid values are:
188199

189-
- $true: Malware attachments are sent to the email address specified by the RedirectAddress parameter.
190-
- $false: Malware attachments aren't sent to another email address. This is the default value.
200+
- $true: Messages that contain malware attachments are delivered to the email address specified by the RedirectAddress parameter. This value is required when the ActionOnError parameter value is $true. Otherwise, messages might be lost.
201+
- $false: Messages that contain malware attachments aren't delivered to another email address. This is the default value.
191202

192203
```yaml
193204
Type: Boolean
@@ -203,7 +214,7 @@ Accept wildcard characters: False
203214
```
204215

205216
### -RedirectAddress
206-
The RedirectAddress parameter specifies the email address where detected malware attachments are sent when the Redirect parameter is set to the value $true.
217+
The RedirectAddress parameter specifies the email address to deliver messages that were identified by Safe Attachments as containing malware attachments when the Redirect parameter is set to the value $true.
207218

208219
```yaml
209220
Type: SmtpAddress

exchange/exchange-ps/exchange/New-SafeAttachmentRule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ New-SafeAttachmentRule [-Name] <String> -SafeAttachmentPolicy <SafeAttachmentPol
4141
## DESCRIPTION
4242
You need to specify at least one condition for the rule.
4343

44-
You need to add the safe attachment rule to an existing policy by using the SafeAttachmentPolicy parameter. You create safe attachment policies by using the New-SafeAttachmentPolicy cmdlet.
44+
A safe attachment policy can be assigned only to one safe attachment rule.
4545

4646
Safe Attachments is a feature in Microsoft Defender for Office 365 that opens email attachments in a special hypervisor environment to detect malicious activity. For more information, see [Safe Attachments in Defender for Office 365](https://docs.microsoft.com/microsoft-365/security/office-365-security/atp-safe-attachments).
4747

exchange/exchange-ps/exchange/Set-AntiPhishPolicy.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,8 @@ This setting is part of impersonation protection and is only available in Micros
448448

449449
The ExcludedDomains parameter specifies an exception for impersonation protection that looks for the specified domains in the message sender. You can specify multiple domains separated by commas.
450450

451+
The maximum number of entries is approximately 1000.
452+
451453
```yaml
452454
Type: MultiValuedProperty
453455
Parameter Sets: (All)
@@ -466,6 +468,8 @@ This setting is part of impersonation protection and is only available in Micros
466468

467469
The ExcludedSenders parameter specifies an exception for impersonation protection that looks for the specified message sender. You can specify multiple email addresses separated by commas.
468470

471+
The maximum number of entries is approximately 1000.
472+
469473
```yaml
470474
Type: MultiValuedProperty
471475
Parameter Sets: (All)

exchange/exchange-ps/exchange/Set-SafeAttachmentPolicy.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Set-SafeAttachmentPolicy [-Identity] <SafeAttachmentPolicyIdParameter>
3838
## DESCRIPTION
3939
Safe Attachments is a feature in Microsoft Defender for Office 365 that opens email attachments in a special hypervisor environment to detect malicious activity. For more information, see [Safe Attachments in Defender for Office 365](https://docs.microsoft.com/microsoft-365/security/office-365-security/atp-safe-attachments).
4040

41+
A safe attachment policy can be assigned to only one safe attachment rule by using the SafeAttachmentPolicy parameter on the New-SafeAttachmentRule or Set-SafeAttachmentRule cmdlets.
42+
4143
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
4244

4345
## EXAMPLES
@@ -76,11 +78,15 @@ Accept wildcard characters: False
7678
### -Action
7779
The Action parameter specifies the action for the safe attachment policy. Valid values are:
7880
79-
- Allow: Attachments aren't scanned by safe attachment policies.
81+
- Allow: Deliver the message if malware is detected in the attachment and track scanning results. This value corresponds to **Monitor** for the **Safe Attachments unknown malware response** property of the policy in the admin center.
8082
- Block: Block the email message that contains the malware attachment. This is the default value.
8183
- Replace: Deliver the email message, but remove the malware attachment and replace it with warning text.
8284
- DynamicDelivery: Deliver the email message with a placeholder for each email attachment. The placeholder remains until a copy of the attachment is scanned and determined to be safe. For more information, see [How Dynamic Delivery works](https://docs.microsoft.com/microsoft-365/security/office-365-security/dynamic-delivery-and-previewing#how-dynamic-delivery-works).
8385
86+
The value of this parameter is meaningful only if the value of the Enable parameter is also $true (the default value is $false).
87+
88+
To specify no action for the safe attachment policy (corresponds to **Off** for the **Safe Attachments unknown malware response** property of the policy in admin center), use the Enable parameter with the value $false.
89+
8490
The results of all actions are available in message trace.
8591
8692
```yaml
@@ -97,9 +103,9 @@ Accept wildcard characters: False
97103
```
98104
99105
### -ActionOnError
100-
The ActionOnError parameter specifies the error handling option for safe attachment scanning (what to do if attachment scanning times out or an error occurs). Valid values are:
106+
The ActionOnError parameter specifies the error handling option for Safe Attachments scanning (what to do if attachment scanning times out or an error occurs). Valid values are:
101107
102-
- $true: The action specified by the Action parameter is applied to messages even when the attachments aren't successfully scanned. This is the default value.
108+
- $true: This is the default value. The action specified by the Action parameter is applied to messages even when the attachments aren't successfully scanned. This value is required when the Redirect parameter value is $true. Otherwise, messages might be lost.
103109
- $false: The action specified by the Action parameter isn't applied to messages when the attachments aren't successfully scanned.
104110
105111
```yaml
@@ -151,7 +157,12 @@ Accept wildcard characters: False
151157
```
152158

153159
### -Enable
154-
This parameter isn't used. To enable or disable an existing Safe Attachments policy (the combination of the safe attachment policy and safe attachment rule in PowerShell), use the Enable-SafeAttachmentRule or Disable-SafeAttachmentRule cmdlets.
160+
The Enable parameter works with the Action parameter to specify the action for the safe attachment policy. Valid values are:
161+
162+
- $true: The Action parameter specifies the action for the safe attachment policy.
163+
- $false: This is the default value. Attachments are not scanned by Safe Attachments, regardless of the value of the Action parameter. This value corresponds to **Off** for **Safe Attachments unknown malware response** property of the policy in the admin center.
164+
165+
To enable or disable a complete Safe Attachments policy in the admin center (the combination of the rule and the corresponding associated policy in PowerShell), use the Enable-SafeAttachmentRule or Disable-SafeAttachmentRule cmdlets.
155166

156167
```yaml
157168
Type: Boolean
@@ -167,10 +178,10 @@ Accept wildcard characters: False
167178
```
168179

169180
### -Redirect
170-
The Redirect parameter specifies whether to send detected malware attachments to another email address. Valid values are:
181+
The Redirect parameter specifies whether to deliver messages that were identified by Safe Attachments as containing malware attachments to another email address. Valid values are:
171182

172-
- $true: Malware attachments are sent to the email address specified by the RedirectAddress parameter.
173-
- $false: Malware attachments aren't sent to another email address. This is the default value.
183+
- $true: Messages that contain malware attachments are delivered to the email address specified by the RedirectAddress parameter. This value is required when the ActionOnError parameter value is $true. Otherwise, messages might be lost.
184+
- $false: Messages that contain malware attachments aren't delivered to another email address. This is the default value.
174185

175186
```yaml
176187
Type: Boolean
@@ -186,7 +197,7 @@ Accept wildcard characters: False
186197
```
187198

188199
### -RedirectAddress
189-
The RedirectAddress parameter specifies the email address where detected malware attachments are sent when the Redirect parameter is set to the value $true.
200+
The RedirectAddress parameter specifies the email address to deliver messages that were identified by Safe Attachments as containing malware attachments when the Redirect parameter is set to the value $true.
190201

191202
```yaml
192203
Type: SmtpAddress

exchange/exchange-ps/exchange/Set-SafeAttachmentRule.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ Set-SafeAttachmentRule [-Identity] <RuleIdParameter>
4242
## DESCRIPTION
4343
Safe Attachments is a feature in Microsoft Defender for Office 365 that opens email attachments in a special hypervisor environment to detect malicious activity. For more information, see [Safe Attachments in Defender for Office 365](https://docs.microsoft.com/microsoft-365/security/office-365-security/atp-safe-attachments).
4444

45+
A safe attachment policy can be assigned only to one safe attachment rule.
46+
4547
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
4648

4749
## EXAMPLES

0 commit comments

Comments
 (0)