@@ -28,8 +28,13 @@ Grant-CsTeamsMediaLoggingPolicy [[-Identity] <String>] [-PassThru] [[-PolicyName
28
28
### GrantToTenant
29
29
30
30
```
31
- Grant-CsTeamsMediaLoggingPolicy [-PassThru] [[-PolicyName] <String>]
32
- [-Global] [-WhatIf] [-Confirm] [<CommonParameters>]
31
+ Grant-CsTeamsMediaLoggingPolicy [-PassThru] [[-PolicyName] <String>] [-Global] [-WhatIf] [-Confirm] [<CommonParameters>]
32
+ ```
33
+
34
+ ### GrantToGroup
35
+
36
+ ```
37
+ Grant-CsTeamsMediaLoggingPolicy [-PassThru] [[-PolicyName] <String>] [-Group] <String> [-Rank <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
33
38
```
34
39
35
40
## DESCRIPTION
@@ -71,6 +76,14 @@ PS C:\> Grant-CsTeamsMediaLoggingPolicy -Global -PolicyName $null
71
76
72
77
Unassign Teams Media Logging policy from the entire tenant.
73
78
79
+ ### EXAMPLE 5
80
+
81
+ ``` PowerShell
82
+ PS C:\> Grant-CsTeamsMediaLoggingPolicy -Group 8cc8447a-2e99-4184-a413-7c83e2e489c7 -PolicyName Enabled -Rank 10
83
+ ```
84
+
85
+ Assign Teams Media Logging policy to a group of users.
86
+
74
87
## PARAMETERS
75
88
76
89
### -Identity
@@ -154,6 +167,40 @@ Accept pipeline input: False
154
167
Accept wildcard characters: False
155
168
` ` `
156
169
170
+ # ## -Group
171
+
172
+ Specifies the group used for the group policy assignment.
173
+
174
+ ` ` ` yaml
175
+ Type: String
176
+ Parameter Sets: GrantToGroup
177
+ Aliases:
178
+ Applicable: Microsoft Teams, Skype for Business Online
179
+
180
+ Required: True
181
+ Position: 0
182
+ Default value: None
183
+ Accept pipeline input: False
184
+ Accept wildcard characters: False
185
+ ` ` `
186
+
187
+ # ## -Rank
188
+
189
+ The rank of the policy assignment, relative to other group policy assignments for the same policy type.
190
+
191
+ ` ` ` yaml
192
+ Type: Int32
193
+ Parameter Sets: GrantToGroup
194
+ Aliases:
195
+ Applicable: Microsoft Teams, Skype for Business Online
196
+
197
+ Required: False
198
+ Position: Named
199
+ Default value: None
200
+ Accept pipeline input: False
201
+ Accept wildcard characters: False
202
+ ` ` `
203
+
157
204
# ## -WhatIf
158
205
159
206
Shows what would happen if the cmdlet runs.
0 commit comments