Skip to content

Commit 89cf6fa

Browse files
authored
Merge pull request MicrosoftDocs#2455 from dariomws306/Dariomws1
Dariomws1
2 parents 1577333 + 3089c37 commit 89cf6fa

File tree

1 file changed

+52
-13
lines changed

1 file changed

+52
-13
lines changed

skype/skype-ps/skype/Set-CsTeamsMessagingPolicy.md

Lines changed: 52 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Set-CsTeamsMessagingPolicy [-Tenant <Guid>] [-Description <String>] [-AllowUrlPr
3131
```
3232

3333
## DESCRIPTION
34-
 The CsTeamsMessagingPolicy cmdlets enable administrators to control if a user is enabled to exchange messages. These also help determine the type of messages users can create and modify. This cmdlet updates a Teams messaging policy. Custom policies can then be assigned to users using the Grant-CsTeamsMessagingPolicy cmdlet.
34+
 The CsTeamsMessagingPolicy cmdlets enable administrators to control if a user is enabled to exchange messages. These also help determine the type of messages users can create and modify. This cmdlet updates a Teams messaging policy. Custom policies can then be assigned to users using the Grant-CsTeamsMessagingPolicy cmdlet.
3535

3636

3737
## EXAMPLES
@@ -43,7 +43,7 @@ PS C:\> Set-CsTeamsMessagingPolicy -Identity StudentMessagingPolicy -AllowGiphy
4343
```
4444

4545
In this example two different property values are configured: AllowGiphy is set to false and AllowMemes is set to False.
46-
All other policy properties will be left as previously assigned
46+
All other policy properties will be left as previously assigned.
4747

4848
### Example 2
4949
```
@@ -52,13 +52,13 @@ PS C:\> Get-CsTeamsMessagingPolicy | Set-CsTeamsMessagingPolicy -Identity Studen
5252
```
5353

5454
In this example two different property values are configured for all teams messaging policies in the organization: AllowGiphy is set to false and AllowMemes is set to False.
55-
All other policy properties will be left as previously assigned
55+
All other policy properties will be left as previously assigned.
5656

5757

5858
## PARAMETERS
5959

6060
### -AllowGiphy
61-
Determines whether a user is allowed to access and post Giphys. Set this to TRUE to allow. Set this FALSE to prohibit
61+
Determines whether a user is allowed to access and post Giphys. Set this to TRUE to allow. Set this FALSE to prohibit.
6262

6363
```yaml
6464
Type: Boolean
@@ -73,7 +73,7 @@ Accept wildcard characters: False
7373
```
7474
7575
### -AllowMemes
76-
Determines whether a user is allowed to access and post memes. Set this to TRUE to allow. Set this FALSE to prohibit
76+
Determines whether a user is allowed to access and post memes. Set this to TRUE to allow. Set this FALSE to prohibit.
7777
7878
```yaml
7979
Type: Boolean
@@ -88,7 +88,7 @@ Accept wildcard characters: False
8888
```
8989
9090
### -AllowOwnerDeleteMessage
91-
Determines whether owners are allowed to delete all the messages in their team. Set this to TRUE to allow. Set this to FALSE to prohibit
91+
Determines whether owners are allowed to delete all the messages in their team. Set this to TRUE to allow. Set this to FALSE to prohibit.
9292
9393
```yaml
9494
Type: Boolean
@@ -103,7 +103,7 @@ Accept wildcard characters: False
103103
```
104104
105105
### -AllowStickers
106-
Determines whether a user is allowed to access and post stickers. Set this to TRUE to allow. Set this FALSE to prohibit
106+
Determines whether a user is allowed to access and post stickers. Set this to TRUE to allow. Set this FALSE to prohibit.
107107
108108
```yaml
109109
Type: Boolean
@@ -118,7 +118,7 @@ Accept wildcard characters: False
118118
```
119119
120120
### -AllowUserChat
121-
Determines whether a user is allowed to chat. Set this to TRUE to allow a user to chat across private chat, group chat and in meetings. Set this to FALSE to prohibit all chat
121+
Determines whether a user is allowed to chat. Set this to TRUE to allow a user to chat across private chat, group chat and in meetings. Set this to FALSE to prohibit all chat.
122122
123123
```yaml
124124
Type: Boolean
@@ -133,7 +133,7 @@ Accept wildcard characters: False
133133
```
134134
135135
### -AllowUserDeleteMessage
136-
Determines whether a user is allowed to delete their own messages. Set this to TRUE to allow. Set this to FALSE to prohibit
136+
Determines whether a user is allowed to delete their own messages. Set this to TRUE to allow. Set this to FALSE to prohibit.
137137
138138
```yaml
139139
Type: Boolean
@@ -148,7 +148,7 @@ Accept wildcard characters: False
148148
```
149149
150150
### -AllowUserEditMessage
151-
Determines whether a user is allowed to edit their own messages. Set this to TRUE to allow. Set this to FALSE to prohibit
151+
Determines whether a user is allowed to edit their own messages. Set this to TRUE to allow. Set this to FALSE to prohibit.
152152
153153
```yaml
154154
Type: Boolean
@@ -163,7 +163,7 @@ Accept wildcard characters: False
163163
```
164164
165165
### -AllowUserTranslation
166-
Determines whether a user is allowed to translate messages to their client languages. Set this to TRUE to allow. Set this to FALSE to prohibit
166+
Determines whether a user is allowed to translate messages to their client languages. Set this to TRUE to allow. Set this to FALSE to prohibit.
167167
168168
```yaml
169169
Type: Boolean
@@ -208,6 +208,7 @@ Accept wildcard characters: False
208208
```
209209
210210
### -Force
211+
The Force switch specifies whether to suppress warning and confirmation messages. It can be useful in scripting to suppress interactive prompts. If the Force switch isn't provided in the command, you're prompted for administrative input if required.
211212
212213
```yaml
213214
Type: SwitchParameter
@@ -222,7 +223,7 @@ Accept wildcard characters: False
222223
```
223224
224225
### -GiphyRatingType
225-
Determines the Giphy content restrictions applicable to a user. Set this to STRICT, MODERATE or NORESTRICTION
226+
Determines the Giphy content restrictions applicable to a user. Set this to STRICT, MODERATE or NORESTRICTION.
226227
227228
```yaml
228229
Type: String
@@ -254,7 +255,6 @@ Accept wildcard characters: False
254255
```
255256
256257
### -Instance
257-
258258
Allows you to pass a reference to an object to the cmdlet rather than set individual parameter values.
259259
260260
```yaml
@@ -270,6 +270,15 @@ Accept wildcard characters: False
270270
```
271271
272272
### -Tenant
273+
Globally unique identifier (GUID) of the tenant account whose external user communication policy are being created. For example:
274+
275+
-Tenant "38aad667-af54-4397-aaa7-e94c79ec2308"
276+
277+
You can return your tenant ID by running this command:
278+
279+
Get-CsTenant | Select-Object DisplayName, TenantID
280+
281+
If you are using a remote session of Windows PowerShell and are connected only to Skype for Business Online you do not have to include the Tenant parameter. Instead, the tenant ID will automatically be filled in for you based on your connection information. The Tenant parameter is primarily for use in a hybrid deployment.
273282
274283
```yaml
275284
Type: Guid
@@ -299,6 +308,36 @@ Accept pipeline input: False
299308
Accept wildcard characters: False
300309
```
301310
311+
### -AllowUrlPreviews
312+
Use this setting to turn automatic URL previewing on or off in messages. Set this to TRUE to turn on. Set this to FALSE to turn off.
313+
314+
```yaml
315+
Type: Boolean
316+
Parameter Sets: (All)
317+
Aliases:
318+
319+
Required: False
320+
Position: Named
321+
Default value: None
322+
Accept pipeline input: False
323+
Accept wildcard characters: False
324+
```
325+
326+
### -ReadReceiptsEnabledType
327+
Use this setting to specify whether read receipts are user controlled, enabled for everyone, or disabled. Set this to UserPreference, Everyone or None.
328+
329+
```yaml
330+
Type: String
331+
Parameter Sets: (All)
332+
Aliases:
333+
334+
Required: False
335+
Position: Named
336+
Default value: None
337+
Accept pipeline input: False
338+
Accept wildcard characters: False
339+
```
340+
302341
## INPUTS
303342
304343
### System.Management.Automation.PSObject

0 commit comments

Comments
 (0)