Skip to content

Commit 01870e8

Browse files
xinawangdariomws
andauthored
Apply suggestions from code review
Co-authored-by: Dario Woitasen <[email protected]>
1 parent dc0c03d commit 01870e8

File tree

4 files changed

+34
-21
lines changed

4 files changed

+34
-21
lines changed

teams/teams-ps/teams/Grant-CsTeamsEnhancedEncryptionPolicy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ The TeamsEnhancedEncryptionPolicy enables administrators to determine which user
2929
## EXAMPLES
3030

3131
### EXAMPLE 1
32-
```
32+
```PowerShell
3333
PS C:\> Grant-CsTeamsEnhancedEncryptionPolicy -Identity '[email protected]' -PolicyName 'ContosoPartnerTeamsEnhancedEncryptionPolicy'
3434
```
3535

3636
The command shown in Example 1 assigns the per-user Teams enhanced encryption policy, ContosoPartnerTeamsEnhancedEncryptionPolicy, to the user with the user principal name (UPN) "[email protected]".
3737

3838

3939
### EXAMPLE 2
40-
```
40+
```PowerShell
4141
PS C:\> Grant-CsTeamsEnhancedEncryptionPolicy -Identity 'Ken Myer' -PolicyName $null
4242
```
4343

teams/teams-ps/teams/New-CsTeamsEnhancedEncryptionPolicy.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ schema: 2.0.0
1212
# New-CsTeamsEnhancedEncryptionPolicy
1313

1414
## SYNOPSIS
15-
Use this cmdlet to create a new teams enhanced encryption policy.
15+
Use this cmdlet to create a new Teams enhanced encryption policy.
16+
1617
## SYNTAX
1718

1819
```
@@ -21,20 +22,21 @@ New-CsTeamsEnhancedEncryptionPolicy [-Description <Object>] [-CallingEndtoEndEnc
2122
```
2223

2324
## DESCRIPTION
24-
Use this cmdlet to create a new teams enhanced encryption policy.
25+
Use this cmdlet to create a new Teams enhanced encryption policy.
26+
2527
The TeamsEnhancedEncryptionPolicy enables administrators to determine which users in your organization can use the enhanced encryption settings in Teams, setting for End-to-end encryption in ad-hoc 1-to-1 VOIP calls is the parameter supported by this policy currently.
2628

2729
## EXAMPLES
2830

2931
### EXAMPLE 1
30-
```
32+
```PowerShell
3133
PS C:\> New-CsTeamsEnhancedEncryptionPolicy -Identity ContosoPartnerTeamsEnhancedEncryptionPolicy
3234
```
3335

3436
Creates a new instance of TeamsEnhancedEncryptionPolicy called ContosoPartnerTeamsEnhancedEncryptionPolicy and applies the default values to its settings.
3537

3638
### EXAMPLE 2
37-
```
39+
```PowerShell
3840
PS C:\> New-CsTeamsEnhancedEncryptionPolicy -Identity ContosoPartnerTeamsEnhancedEncryptionPolicy -CallingEndtoEndEncryptionEnabledType DisabledUserOverride
3941
```
4042

@@ -43,7 +45,8 @@ Creates a new instance of TeamsEnhancedEncryptionPolicy called ContosoPartnerTea
4345
## PARAMETERS
4446

4547
### -Description
46-
Enables administrators to provide explanatory text to accompany a teams enhanced encryption policy.
48+
Enables administrators to provide explanatory text to accompany a Teams enhanced encryption policy.
49+
4750

4851
For example, the Description might include information about the users the policy should be assigned to.
4952

@@ -75,7 +78,8 @@ Accept wildcard characters: False
7578
```
7679
7780
### -Identity
78-
Unique identifier assigned to the teams enhanced encryption policy.
81+
Unique identifier assigned to the Teams enhanced encryption policy.
82+
7983
8084
```yaml
8185
Type: XdsIdentity
@@ -151,7 +155,8 @@ Accept wildcard characters: False
151155
```
152156
153157
### CommonParameters
154-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
158+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
159+
155160
156161
## INPUTS
157162

teams/teams-ps/teams/Remove-CsTeamsEnhancedEncryptionPolicy.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ schema: 2.0.0
1212
# Remove-CsTeamsEnhancedEncryptionPolicy
1313

1414
## SYNOPSIS
15-
Use this cmdlet to remove an existing teams enhanced encryption policy.
15+
Use this cmdlet to remove an existing Teams enhanced encryption policy.
16+
1617
## SYNTAX
1718

1819
```
@@ -21,29 +22,32 @@ Remove-CsTeamsEnhancedEncryptionPolicy [[-Identity] <Object>] [-Force] [-WhatIf]
2122
```
2223

2324
## DESCRIPTION
24-
Use this cmdlet to remove an existing teams enhanced encryption policy.
25+
Use this cmdlet to remove an existing Teams enhanced encryption policy.
26+
2527
The TeamsEnhancedEncryptionPolicy enables administrators to determine which users in your organization can use the enhanced encryption settings in Teams, setting for End-to-end encryption in ad-hoc 1-to-1 VOIP calls is the parameter supported by this policy currently.
2628

2729
## EXAMPLES
2830

2931
### EXAMPLE 1
30-
```
32+
```PowerShell
3133
PS C:\> Remove-CsTeamsEnhancedEncryptionPolicy -Identity 'ContosoPartnerTeamsEnhancedEncryptionPolicy'
3234
```
3335

34-
The command shown in Example 1 deletes the teams enhanced encryption policy ContosoPartnerTeamsEnhancedEncryptionPolicy.
36+
The command shown in Example 1 deletes the Teams enhanced encryption policy ContosoPartnerTeamsEnhancedEncryptionPolicy.
37+
3538

3639
### EXAMPLE 2
37-
```
40+
```PowerShell
3841
PS C:\> Get-CsTeamsEnhancedEncryptionPolicy -Filter 'Tag:*' | Remove-CsTeamsEnhancedEncryptionPolicy
3942
```
4043

41-
In Example 2, all the teams enhanced encryption policies configured at the per-user scope are removed. The Filter value "Tag:*" limits the returned data to teams enhanced encryption policies configured at the per-user scope. Those per-user policies are then removed.
44+
In Example 2, all the Teams enhanced encryption policies configured at the per-user scope are removed. The Filter value "Tag:*" limits the returned data to Teams enhanced encryption policies configured at the per-user scope. Those per-user policies are then removed.
4245

4346
## PARAMETERS
4447

4548
### -Identity
46-
Unique identifier assigned to the teams enhanced encryption policy.
49+
Unique identifier assigned to the Teams enhanced encryption policy.
50+
4751

4852
```yaml
4953
Type: XdsIdentity
@@ -104,7 +108,8 @@ Accept wildcard characters: False
104108
```
105109
106110
### CommonParameters
107-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
111+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
112+
108113
109114
## INPUTS
110115

teams/teams-ps/teams/Set-CsTeamsEnhancedEncryptionPolicy.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ schema: 2.0.0
1212
# Set-CsTeamsEnhancedEncryptionPolicy
1313

1414
## SYNOPSIS
15-
Use this cmdlet to update values in existing teams enhanced encryption policy.
15+
Use this cmdlet to update values in existing Teams enhanced encryption policy.
16+
1617
## SYNTAX
1718

1819
```
@@ -21,17 +22,19 @@ Set-CsTeamsEnhancedEncryptionPolicy [-Description <Object>] [-CallingEndtoEndEnc
2122
```
2223

2324
## DESCRIPTION
24-
Use this cmdlet to update values in existing teams enhanced encryption policy.
25+
Use this cmdlet to update values in existing Teams enhanced encryption policy.
26+
2527
The TeamsEnhancedEncryptionPolicy enables administrators to determine which users in your organization can use the enhanced encryption settings in Teams, setting for End-to-end encryption in ad-hoc 1-to-1 VOIP calls is the parameter supported by this policy currently.
2628

2729
## EXAMPLES
2830

2931
### EXAMPLE 1
30-
```
32+
```PowerShell
3133
PS C:\> Set-CsTeamsEnhancedEncryptionPolicy -Identity "ContosoPartnerTeamsEnhancedEncryptionPolicy" -CallingEndtoEndEncryptionEnabledType DisabledUserOverride
3234
```
3335

34-
The command shown in Example 1 modifies an existing per-user teams enhanced encryption policy with the Identity ContosoPartnerTeamsEnhancedEncryptionPolicy.
36+
The command shown in Example 1 modifies an existing per-user Teams enhanced encryption policy with the Identity ContosoPartnerTeamsEnhancedEncryptionPolicy.
37+
3538

3639
This policy is re-assigned CallingEndtoEndEncryptionEnabledType to be DisabledUserOverride.
3740

0 commit comments

Comments
 (0)