Get-TeamChannel

Get all the channels for a team.

Syntax

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

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
Accept pipeline input:True (ByPropertyName)
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
Accept pipeline input:False
Accept wildcard characters:False