Skip to content

Commit 4e7111e

Browse files
authored
Merge pull request MicrosoftDocs#8611 from MicrosoftDocs/chrisda
Update New-QuarantinePolicy.md
2 parents 14bfc0f + 7ca77b5 commit 4e7111e

File tree

2 files changed

+2
-27
lines changed

2 files changed

+2
-27
lines changed

exchange/exchange-ps/exchange/New-QuarantinePolicy.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,6 @@ This example creates a new quarantine policy named ContosoTag with the same perm
6161

6262
To assign Limited access permissions, use the value 106. To assign Full access permissions, use the value 236.
6363

64-
### Example 2
65-
```powershell
66-
$LimitedAccess = New-QuarantinePermissions -PermissionToBlockSender $true -PermissionToDelete $true -PermissionToPreview $true -PermissionToRequestRelease $true
67-
68-
New-QuarantinePolicy -Name LimitedAccess -EndUserQuarantinePermissions $LimitedAccess
69-
```
70-
71-
This example creates a new quarantine policy named LimitedAccess with the same permissions as Limited access preset permissions group.
72-
73-
The first command uses the New-QuarantinePermissions cmdlet to store the permissions object in a variable. The second command uses the variable for the value of the EndUserQuarantinePermissions parameter.
74-
7564
## PARAMETERS
7665

7766
### -Name
@@ -204,11 +193,7 @@ Accept wildcard characters: False
204193
```
205194
206195
### -EndUserQuarantinePermissions
207-
The EndUserQuarantinePermissionsValue parameter specifies the end-user permissions for the quarantine policy.
208-
209-
A value for this parameter requires the New-QuarantinePermissions cmdlet. Store the results of the New-QuarantinePermissions command in a variable (for example, `$Perms = New-QuarantinePermissions <permissions>`) and then use the variable name (`$Perms`) for this parameter. For more information, see [New-QuarantinePermissions](https://docs.microsoft.com/powershell/module/exchange/new-quarantinepermissions).
210-
211-
Don't use this parameter with the EndUserQuarantinePermissionsValue parameter.
196+
This parameter is reserved for internal Microsoft use.
212197
213198
```yaml
214199
Type: QuarantinePermissions

exchange/exchange-ps/exchange/Set-QuarantinePolicy.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,6 @@ This example configures the following permissions in the quarantine policy named
7070

7171
### Example 2
7272
```powershell
73-
$Perms = New-QuarantinePermissions -PermissionToDelete $true
74-
Set-QuarantinePolicy -Identity CustomAccess -EndUserQuarantinePermissions $Perms
75-
```
76-
77-
This example has the same result as the previous example, but uses the EndUserQuarantinePermissions parameter instead.
78-
79-
### Example 3
80-
```powershell
8173
Get-QuarantinePolicy -QuarantinePolicyType GlobalQuarantinePolicy | Set-QuarantinePolicy -MultiLanguageSetting ('English','ChineseSimplified','French') -MultiLanguageCustomDisclaimer ('For more information, contact the Help Desk.','有关更多信息,请联系服务台','Pour plus d'informations, contactez le service d'assistance.') -MultiLanguageSenderName ('Contoso administrator','Contoso管理员','Administrateur Contoso') -OrganizationBrandingEnabled $true
8274
```
8375

@@ -225,9 +217,7 @@ Accept wildcard characters: False
225217
```
226218
227219
### -EndUserQuarantinePermissions
228-
A value for this parameter requires the New-QuarantinePermissions cmdlet. Store the results of the New-QuarantinePermissions command in a variable (for example, `$Perms = New-QuarantinePermissions <permissions>`) and then use the variable name (`$Perms`) for this parameter. For more information, see [New-QuarantinePermissions](https://docs.microsoft.com/powershell/module/exchange/new-quarantinepermissions).
229-
230-
Don't use this parameter with the EndUserQuarantinePermissionsValue parameter.
220+
This parameter is reserved for internal Microsoft use.
231221
232222
```yaml
233223
Type: QuarantinePermissions

0 commit comments

Comments
 (0)