Skip to content

Commit 26b975d

Browse files
committed
Corrected note style; added label to code blocks; added vertical space
1 parent 1c7b47d commit 26b975d

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,28 @@ ms.reviewer:
1212

1313
## SYNOPSIS
1414

15-
**Note:** The cmdlet Set-CsGroupPolicyAssignment will be available soon. In the meantime, to change a group policy assignment you can first remove the current policy assignment from the group and then add a new policy assignment.
15+
> [!NOTE]
16+
> The cmdlet Set-CsGroupPolicyAssignment will be available soon. In the meantime, to change a group policy assignment you can first remove the current policy assignment from the group and then add a new policy assignment.
1617
1718
This cmdlet is used to update a group policy assignment.
1819

1920
## SYNTAX
2021

21-
```
22+
```powershell
2223
Set-CsGroupPolicyAssignment -GroupId <String> -PolicyType <String> [-PolicyName <String>] [-Rank <Int>]
2324
```
2425

2526
## DESCRIPTION
27+
2628
This cmdlet will update the policy assignment for a group for a given policy type. The policy instance and/or policy rank can be updated. Refer to [New-CsGroupPolicyAssignment](New-CsGroupPolicyAssignment.md) for more details about rank.
2729

2830
## EXAMPLES
2931

3032
### Example 1
33+
3134
In this example, a new policy of the same type is set without changing the rank.
3235

33-
```
36+
```powershell
3437
Get-CsGroupPolicyAssignment -PolicyType TeamsMeetingPolicy
3538
3639
GroupId PolicyType PolicyName Rank CreatedTime CreatedBy
@@ -49,9 +52,10 @@ d8ebfa45-0f28-4d2d-9bcc-b158a49e2d17 TeamsMeetingPolicy AllOn 1 10/29/20
4952
```
5053

5154
### Example 2
55+
5256
In this example, the rank of the policy assignment is updated.
5357

54-
```
58+
```powershell
5559
Set-CsGroupPolicyAssignment -GroupId 566b8d39-5c5c-4aaa-bc07-4f36278a1b38 -PolicyType TeamsMeetingPolicy -Rank 1
5660
5761
Get-CsGroupPolicyAssignment -PolicyType TeamsMeetingPolicy
@@ -65,6 +69,7 @@ d8ebfa45-0f28-4d2d-9bcc-b158a49e2d17 TeamsMeetingPolicy AllOn 2 10/29/20
6569
## PARAMETERS
6670

6771
### -GroupId
72+
6873
The ID of a batch policy assignment operation.
6974

7075
```yaml
@@ -80,6 +85,7 @@ Accept wildcard characters: False
8085
```
8186
8287
### -PolicyType
88+
8389
The type of the policy assigned.
8490
8591
```yaml
@@ -95,6 +101,7 @@ Accept wildcard characters: False
95101
```
96102
97103
### -PolicyName
104+
98105
The of the new policy to be assigned.
99106
100107
```yaml
@@ -110,6 +117,7 @@ Accept wildcard characters: False
110117
```
111118
112119
### -Rank
120+
113121
The new rank of the policy assignment, relative to other group policy assignments for the same policy type.
114122
115123
```yaml
@@ -125,6 +133,7 @@ Accept wildcard characters: False
125133
```
126134
127135
### CommonParameters
136+
128137
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
129138
For more information, see [About CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
130139

0 commit comments

Comments
 (0)