Skip to content

Commit ca1c94b

Browse files
authored
Update Grant-CsTeamsFilesPolicy.md
1 parent e062e65 commit ca1c94b

File tree

1 file changed

+8
-74
lines changed

1 file changed

+8
-74
lines changed

teams/teams-ps/teams/Grant-CsTeamsFilesPolicy.md

Lines changed: 8 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,18 @@ Online teams files policies manage usages of files-related features.
1515

1616
### GrantToTenant (Default)
1717
```
18-
Grant-CsTeamsFilesPolicy [-Global] [-PassThru] [[-PolicyName] <String>]
19-
[-MsftInternalProcessingMode <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
18+
Grant-CsTeamsFilesPolicy [-Global] [[-PolicyName] <String>]
19+
2020
```
2121

2222
### GrantToGroup
2323
```
24-
Grant-CsTeamsFilesPolicy [-PassThru] [[-PolicyName] <String>] [-MsftInternalProcessingMode <String>]
25-
[-Group] <String> [-Rank <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
24+
Grant-CsTeamsFilesPolicy [[-PolicyName] <String>] [-Group] <String>
2625
```
2726

2827
### Identity
2928
```
30-
Grant-CsTeamsFilesPolicy [-PassThru] [[-PolicyName] <String>] [-MsftInternalProcessingMode <String>]
31-
[-Identity <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
29+
Grant-CsTeamsFilesPolicy [[-PolicyName] <String>] [-Identity <String>]
3230
```
3331

3432
## DESCRIPTION
@@ -38,17 +36,17 @@ This cmdlet assigns an existing user-specific online teams files policy to a use
3836

3937
### Example 1
4038
```
41-
Grant-CsTeamsFilesPolicy -Identity "[email protected]" -PolicyName TranscriptionDisabled
39+
Grant-CsTeamsFilesPolicy -Identity "[email protected]" -PolicyName NativeEntrypointDisabled
4240
```
4341

44-
The command shown in Example 1 assigns the per-user online teams files policy TranscriptionDisabled to a single user [email protected].
42+
The command shown in Example 1 assigns the per-user online teams files policy NativeEntrypointDisabled to a single user [email protected].
4543

4644
### Example 2
4745
```
48-
Grant-CsTeamsFilesPolicy -Group [email protected] -Rank 10 -PolicyName TranscriptionDisabled
46+
Grant-CsTeamsFilesPolicy -Group [email protected] -PolicyName NativeEntrypointDisabled
4947
```
5048

51-
The command shown in Example 2 assigns the online teams files policy TranscriptionDisabled to the members of the group [email protected].
49+
The command shown in Example 2 assigns the online teams files policy NativeEntrypointDisabled to the members of the group [email protected].
5250

5351
## PARAMETERS
5452

@@ -67,22 +65,6 @@ Accept pipeline input: False
6765
Accept wildcard characters: False
6866
```
6967
70-
### -PassThru
71-
Enables you to pass a user object through the pipeline that represents the user being assigned the policy.
72-
By default, the Grant-CsTeamsFilesPolicy cmdlet does not pass objects through the pipeline.
73-
74-
```yaml
75-
Type: SwitchParameter
76-
Parameter Sets: (All)
77-
Aliases:
78-
79-
Required: False
80-
Position: Named
81-
Default value: False
82-
Accept pipeline input: False
83-
Accept wildcard characters: False
84-
```
85-
8668
### -PolicyName
8769
A unique identifier(name) of the policy.
8870
@@ -113,21 +95,6 @@ Accept pipeline input: False
11395
Accept wildcard characters: False
11496
```
11597
116-
### -Rank
117-
The rank of the policy assignment, relative to other group policy assignments for the same policy type.
118-
119-
```yaml
120-
Type: Int32
121-
Parameter Sets: GrantToGroup
122-
Aliases:
123-
124-
Required: False
125-
Position: Named
126-
Default value: None
127-
Accept pipeline input: False
128-
Accept wildcard characters: False
129-
```
130-
13198
### -Identity
13299
The Identity parameter represents the ID of the specific user in your organization; this can be either a SIP address or an Object ID.
133100
@@ -143,39 +110,6 @@ Accept pipeline input: True (ByPropertyName, ByValue)
143110
Accept wildcard characters: False
144111
```
145112
146-
### -WhatIf
147-
Describes what would happen if you executed the command without actually executing the command.
148-
149-
```yaml
150-
Type: SwitchParameter
151-
Parameter Sets: (All)
152-
Aliases: wi
153-
154-
Required: False
155-
Position: Named
156-
Default value: False
157-
Accept pipeline input: False
158-
Accept wildcard characters: False
159-
```
160-
161-
### -Confirm
162-
Prompts you for confirmation before executing the command.
163-
164-
```yaml
165-
Type: SwitchParameter
166-
Parameter Sets: (All)
167-
Aliases: cf
168-
169-
Required: False
170-
Position: Named
171-
Default value: False
172-
Accept pipeline input: False
173-
Accept wildcard characters: False
174-
```
175-
176-
### CommonParameters
177-
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).
178-
179113
## INPUTS
180114
181115
## OUTPUTS

0 commit comments

Comments
 (0)