編輯

共用方式為


Set-TeamGuestSettings

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 guest settings.

Syntax

Set-TeamGuestSettings
   -GroupId <String>
   [-AllowCreateUpdateChannels <String>]
   [-AllowDeleteChannels <String>]

Examples

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

Set-TeamGuestSettings -GroupId a61f5a96-a0cf-43db-a7c8-cec05f8a8fc4 -AllowCreateUpdateChannels true

Parameters

-AllowCreateUpdateChannels

Settings to create and update channels

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

-AllowDeleteChannels

Settings to Delete channels

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

AllowCreateUpdateChannels

AllowDeleteChannels