Skip to content

Commit b54afec

Browse files
Update New-CsTeamsFilesPolicy.md with disable command
Added command to disable file sharing in chats with external users.
1 parent bf45851 commit b54afec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

teams/teams-ps/MicrosoftTeams/New-CsTeamsFilesPolicy.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ Accept wildcard characters: False
5252
5353
### -FileSharingInChatswithExternalUsers
5454
55-
Indicates if file sharing in chats with external users is enabled.
55+
Indicates if file sharing in chats with external users is enabled. It is by default enabled, to disable admins can run following command.
56+
```powershell
57+
Set-CsTeamsFilesPolicy -Identity Global -FileSharingInChatswithExternalUsers Disabled
58+
```
5659

5760
```yaml
5861
Type: String

0 commit comments

Comments
 (0)