Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Get-TeamChannel

This cmdlet supports retrieving channels hosted by a team.

Syntax

Default (Default)

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-MembershipType

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.


Feedback

Was this page helpful?