Editar

Compartilhar via


Set-TeamChannel

Update Team channels settings.

Syntax

Set-TeamChannel
   -GroupId <String>
   -CurrentDisplayName <String>
   [-NewDisplayName <String>]
   [-Description <String>]
   [<CommonParameters>]

Description

Important

Modules in the PS INT gallery for Microsoft Teams run on the /beta version in Microsoft Graph and are subject to change. Int modules can be install from here https://www.poshtestgallery.com/packages/MicrosoftTeams.

Examples

Example 1

Set-TeamChannel -GroupId c58566a6-4bb4-4221-98d4-47677dbdbef6 -CurrentDisplayName TechReads -NewDisplayName "Technical Reads"

Parameters

-CurrentDisplayName

Current channel name

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

-Description

Updated Channel description. Channel Description Characters Limit - 1024.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-GroupId

GroupId of the team

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

-NewDisplayName

New Channel display name. Names must be 50 characters or less, and can't contain the characters # % & * { } / \ : < > ?

  • | ' "
Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False