編輯

共用方式為


Get-TeamChannel

This cmdlet supports retrieving channels hosted by a team.

Syntax

Get-TeamChannel
   -GroupId <String>
   [-MembershipType <String>]
   [<CommonParameters>]

Description

This cmdlet supports retrieving channels hosted by a team.

Examples

Example 1

Get-TeamChannel -GroupId af55e84c-dc67-4e48-9005-86e0b07272f9

Get channels of the group.

Example 2

Get-TeamChannel -GroupId af55e84c-dc67-4e48-9005-86e0b07272f9 -MembershipType Private

Get all private channels of the group.

Parameters

-GroupId

GroupId of the team

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

-MembershipType

Membership type of the channel to display, Standard or Private (available in private preview)

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