編輯

共用方式為


Set-TeamMemberSettings

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

Syntax

Set-TeamMemberSettings
   -GroupId <String>
   [-AllowCreateUpdateChannels <String>]
   [-AllowDeleteChannels <String>]
   [-AllowAddRemoveApps <String>]
   [-AllowCreateUpdateRemoveTabs <String>]
   [-AllowCreateUpdateRemoveConnectors <String>]

Examples

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

Set-TeamMemberSettings -GroupId 4ba546e6-e28d-4645-8cc1-d3575ef9d266 -AllowCreateUpdateChannels false

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

Set-TeamMemberSettings -GroupId 4ba546e6-e28d-4645-8cc1-d3575ef9d266 -AllowDeleteChannels true -AllowAddRemoveApps false

Parameters

-AllowAddRemoveApps

Setting to add and remove apps to teams

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

-AllowCreateUpdateChannels

Setting 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

-AllowCreateUpdateRemoveConnectors

Setting to create, update and remove connectors

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

-AllowCreateUpdateRemoveTabs

Setting to create, update and remove tabs

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

-AllowDeleteChannels

Setting 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

AllowAddRemoveApps

AllowCreateUpdateRemoveTabs

AllowCreateUpdateRemoveConnectors