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
The IncludeMessagesFromBlockedSenderAddress switch specifies whether to include quarantined messages from blocked senders in the results. You don't need to specify a value with this switch.
The MessageId parameter filters the results by the Message-ID header field of the message. This value is also known as the Client ID. The format of the Message-ID depends on the messaging server that sent the message. The value should be unique for each message. However, not all messaging servers create values for the Message-ID in the same way. Be sure to include the full Message ID string (which may include angle brackets) and enclose the value in quotation marks (for example, `"<d9683b4c-127b-413a-ae2e-fa7dfb32c69d@DM3NAM06BG401.Eop-nam06.prod.protection.outlook.com>"`).
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/New-QuarantinePermissions.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,9 @@ ms.reviewer:
14
14
## SYNOPSIS
15
15
This cmdlet is available only in the cloud-based service.
16
16
17
-
Use the New-QuarantinePermissions cmdlet to create quarantine permissions objects to use with the EndUserQuarantinePermission parameter on the New-QuarantinePolicy or Set-QuarantinePolicy cmdlets.
17
+
**Note**: Instead of using this cmdlet to set quarantine policy permissions, we recommend using the EndUserQuarantinePermissionsValue parameter on the New-QuarantinePolicy and Set-QuarantinePolicy cmdlets.
18
+
19
+
Use the New-QuarantinePermissions cmdlet to create a variable that contains a quarantine permissions object to use with the EndUserQuarantinePermission parameter on the New-QuarantinePolicy or Set-QuarantinePolicy cmdlets in the same PowerShell session.
18
20
19
21
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
This example creates the same permissions that are used by the No access permissions group in quarantine policies. The permissions object is stored in the variable named `$NoAccess`.
49
51
50
-
In the same Windows PowerShell session, you can use `$NoAccess` for the _EndUserQuarantinePermissions_ parameter value in a New-QuarantinePolicy or Set-QuarantinePolicy command.
52
+
In the same PowerShell session, you can use `$NoAccess` for the _EndUserQuarantinePermissions_ parameter value in a New-QuarantinePolicy or Set-QuarantinePolicy command.
This example creates the same permissions that are used by the Limited access permissions group in quarantine policies. The permissions object is stored in the variable named `$LimitedAccess`.
58
60
59
-
In the same Windows PowerShell session, you can use `$LimitedAccess` for the _EndUserQuarantinePermissions_ parameter value in a New-QuarantinePolicy or Set-QuarantinePolicy command.
61
+
In the same PowerShell session, you can use `$LimitedAccess` for the _EndUserQuarantinePermissions_ parameter value in a New-QuarantinePolicy or Set-QuarantinePolicy command.
This example creates the same permissions that are used by the Full access permissions group in quarantine policies. The permissions object is stored in the variable named `$FullAccess`.
67
69
68
-
In the same Windows PowerShell session, you can use `$FullAccess` for the _EndUserQuarantinePermissions_ parameter value in a New-QuarantinePolicy or Set-QuarantinePolicy command.
70
+
In the same PowerShell session, you can use `$FullAccess` for the _EndUserQuarantinePermissions_ parameter value in a New-QuarantinePolicy or Set-QuarantinePolicy command.
This parameter is reserved for internal Microsoft use.
198
+
**Note**: To set permissions in quarantine policies, we recommend using the EndUserQuarantinePermissionsValue parameter.
199
+
200
+
The EndUserQuarantinePermissions specifies the end-user permissions for the quarantine policy by using a variable from the output of a New-QuarantinePermissions or Set-QuarantinePermissions command.
201
+
202
+
For example, run the following command to store the required permissions in a variable: `$Perms = New-QuarantinePermissions <permissions>`. In the same PowerShell session, use the value `$Perms` for this parameter.
198
203
199
204
```yaml
200
205
Type: QuarantinePermissions
@@ -216,7 +221,7 @@ This parameter uses a decimal value that's converted from a binary value. The bi
216
221
217
222
- PermissionToViewHeader: The value 0 doesn't hide the **View message header** action in quarantine. If the message is visible in quarantine, the action is always available for the message.
218
223
- PermissionToDownload: This permission is not used (the value 0 or 1 does nothing).
219
-
- PermissionToAllowSender: This permission is not used (the value 0 or 1 does nothing).
224
+
- PermissionToAllowSender
220
225
- PermissionToBlockSender
221
226
- PermissionToRequestRelease: Don't set this permission and PermissionToRelease to the value 1. Set one value to 1 and the other value to 0, or set both values to 0.
222
227
- PermissionToRelease: Don't set this permission and PermissionToRequestRelease to value 1. Set one value to 1 and the other value to 0, or set both values to 0. This permission isn't honored for messages that were quarantined as malware or high confidence phishing. If the quarantine policy gives users this permission, users are allowed to request the release of their quarantined malware or high confidence phishing messages as if PermissionToRequestRelease was selected instead.
@@ -226,8 +231,8 @@ This parameter uses a decimal value that's converted from a binary value. The bi
226
231
The values for the preset end-user permission groups are described in the following list:
227
232
228
233
- No access: Binary = 0000000, so use the decimal value 0.
229
-
- Limited access: Binary = 00011011, so use the decimal value 27.
230
-
- Full access: Binary = 00010111, so use the decimal value 23.
234
+
- Limited access: Binary = 00101011, so use the decimal value 43.
235
+
- Full access: Binary = 00100111, so use the decimal value 39.
231
236
232
237
For custom permissions, get the binary value that corresponds to the permissions you want. Convert the binary value to a decimal value to use. Don't use the binary value for this parameter.
233
238
@@ -360,6 +365,25 @@ Accept pipeline input: False
360
365
Accept wildcard characters: False
361
366
```
362
367
368
+
### -IncludeMessagesFromBlockedSenderAddress
369
+
The IncludeMessagesFromBlockedSenderAddress parameter specifies whether to send quarantine notifications for quarantined messages from blocked sender addresses. Valid values are:
370
+
371
+
- $true: Recipients get quarantine notifications for affected messages from blocked senders.
372
+
- $false: Recipients don't get quarantine notifications for affected messages from blocked senders. This is the default value.
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/Set-QuarantinePermissions.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,9 @@ ms.reviewer:
14
14
## SYNOPSIS
15
15
This cmdlet is available only in the cloud-based service.
16
16
17
-
Use the New-QuarantinePermissions cmdlet to modify quarantine permissions objects to use with the EndUserQuarantinePermission parameter on the New-QuarantinePolicy or Set-QuarantinePolicy cmdlets. This cmdlet works only on a permission object that was created by the New-QuarantinePermissions cmdlet and stored in a variable that's currently available in the Windows PowerShell session.
17
+
**Note**: Instead of using this cmdlet to set quarantine policy permissions, we recommend using the EndUserQuarantinePermissionsValue parameter on the New-QuarantinePolicy and Set-QuarantinePolicy cmdlets.
18
+
19
+
Use the Set-QuarantinePermissions cmdlet to modify quarantine permissions objects that were created by the New-QuarantinePermissions and stored as a variable in the current PowerShell session. You use the variable as a value for the EndUserQuarantinePermission parameter on the New-QuarantinePolicy or Set-QuarantinePolicy cmdlets in the same PowerShell session.
18
20
19
21
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
20
22
@@ -45,14 +47,14 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
This example modifies the specified quarantine policy permissions in the exiting `$Perms`permissions object that was created previously in the same Windows PowerShell session (the `$Perms` variable is still available and populated).
50
+
This example modifies the quarantine policy permissions in the exiting `$Perms`variable that was previously created using the New-QuarantinePermissions cmdlet in the same PowerShell session (the `$Perms` variable is still available and populated).
49
51
50
-
In the same Windows PowerShell session, you can use `$Perms` for the _EndUserQuarantinePermissions_ parameter value in a New-QuarantinePolicy or Set-QuarantinePolicy command.
52
+
In the same PowerShell session, you can use `$Perms` for the _EndUserQuarantinePermissions_ parameter value in a New-QuarantinePolicy or Set-QuarantinePolicy command.
51
53
52
54
## PARAMETERS
53
55
54
56
### -QuarantinePermissionsObject
55
-
The QuarantinePermissionsObject parameter specifies the variable that contains quarantine permissions object that you want to modify. For example if you ran the command `$Perms = New-QuarantinePermissions <permissions>`, use the value `$Perms` for this parameter.
57
+
The QuarantinePermissionsObject parameter specifies the existing variable that contains quarantine permissions that you want to modify. For example if you previously ran the command `$Perms = New-QuarantinePermissions <permissions>`, use the value `$Perms` for this parameter.
This parameter is reserved for internal Microsoft use.
216
+
**Note**: To set permissions in quarantine policies, we recommend using the EndUserQuarantinePermissionsValue parameter.
217
+
218
+
The EndUserQuarantinePermissions specifies the end-user permissions for the quarantine policy by using a variable from the output of a New-QuarantinePermissions or Set-QuarantinePermissions command.
219
+
220
+
For example, run the following command to store the required permissions in a variable: `$Perms = New-QuarantinePermissions <permissions>`. In the same PowerShell session, use the value `$Perms` for this parameter.
216
221
217
222
```yaml
218
223
Type: QuarantinePermissions
@@ -234,7 +239,7 @@ This parameter uses a decimal value that's converted from a binary value. The bi
234
239
235
240
- PermissionToViewHeader: The value 0 doesn't hide the **View message header** action in quarantine. If the message is visible in quarantine, the action is always available for the message.
236
241
- PermissionToDownload: This permission is not used (the value 0 or 1 does nothing).
237
-
- PermissionToAllowSender: This permission is not used (the value 0 or 1 does nothing).
242
+
- PermissionToAllowSender
238
243
- PermissionToBlockSender
239
244
- PermissionToRequestRelease: Don't set this permission and PermissionToRelease to the value 1. Set one value to 1 and the other value to 0, or set both values to 0.
240
245
- PermissionToRelease: Don't set this permission and PermissionToRequestRelease to value 1. Set one value to 1 and the other value to 0, or set both values to 0. This permission isn't honored for messages that were quarantined as malware or high confidence phishing. If the quarantine policy gives users this permission, users are allowed to request the release of their quarantined malware or high confidence phishing messages as if PermissionToRequestRelease was selected instead.
@@ -244,8 +249,8 @@ This parameter uses a decimal value that's converted from a binary value. The bi
244
249
The values for the preset end-user permission groups are described in the following list:
245
250
246
251
- No access: Binary = 0000000, so use the decimal value 0.
247
-
- Limited access: Binary = 00011011, so use the decimal value 27.
248
-
- Full access: Binary = 00010111, so use the decimal value 23.
252
+
- Limited access: Binary = 00101011, so use the decimal value 43.
253
+
- Full access: Binary = 00100111, so use the decimal value 39.
249
254
250
255
For custom permissions, get the binary value that corresponds to the permissions you want. Convert the binary value to a decimal value to use. Don't use the binary value for this parameter.
251
256
@@ -392,6 +397,25 @@ Accept pipeline input: False
392
397
Accept wildcard characters: False
393
398
```
394
399
400
+
### -IncludeMessagesFromBlockedSenderAddress
401
+
The IncludeMessagesFromBlockedSenderAddress parameter specifies whether to send quarantine notifications for quarantined messages from blocked sender addresses. Valid values are:
402
+
403
+
- $true: Recipients get quarantine notifications for affected messages from blocked senders.
404
+
- $false: Recipients don't get quarantine notifications for affected messages from blocked senders. This is the default value.
The MultiLanguageCustomDisclaimer parameter specifies the custom disclaimer text to use near the bottom of quarantine notifications. The localized text, **A disclaimer from your organization:** is always included first, followed by the text you specify for this parameter.
0 commit comments