Editar

Compartilhar via


Set-TeamMessagingSettings

Note: This cmdlet is deprecated as of our 1.0 PowerShell release, and is not supported in our 1.0 release. To set a Team's settings, run Set-Team.

Updates team messaging settings.

Syntax

Set-TeamMessagingSettings
   -GroupId <String>
   [-AllowUserEditMessages <String>]
   [-AllowUserDeleteMessages <String>]
   [-AllowOwnerDeleteMessages <String>]
   [-AllowTeamMentions <String>]
   [-AllowChannelMentions <String>]

Examples

-------------------------- Example 1 --------------------------

Set-TeamMessagingSettings -GroupId 4ba546e6-e28d-4645-8cc1-d3575ef9d266 -AllowUserEditMessages true

-------------------------- Example 2 --------------------------

Set-TeamMessagingSettings -GroupId 4ba546e6-e28d-4645-8cc1-d3575ef9d266 -AllowUserDeleteMessages false -AllowChannelMentions true

Parameters

-AllowChannelMentions

Allow @channel or @[channel name] mentions. This wil notify members who've favorited that channel

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-AllowOwnerDeleteMessages

Setting to allow owner to Delete messages

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-AllowTeamMentions

Allow @team or @[team name] mentions. This will notify everyone in the team

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-AllowUserDeleteMessages

Setting to allow user to delete messages

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-AllowUserEditMessages

Setting to allow user to edit messages

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-GroupId

GroupId of the team

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Microsoft Teams

Inputs

GroupId

AllowUserEditMessages

AllowUserDeleteMessages

AllowOwnerDeleteMessages

AllowTeamMentions

AllowChannelMentions