Edit

Share via


Get-TeamAllChannel

This cmdlet supports retrieving all channels of a team, including incoming channels and channels hosted by the team.

Syntax

Default (Default)

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

Description

This cmdlet supports retrieving all channels of a team, including incoming channels and channels hosted by the team.

Examples

Example 1

Get-TeamAllChannel -GroupId 126b90a5-e65a-4fef-98e3-d9b49f4acf12

Returns all channels of a team.

Example 2

Get-TeamAllChannel -GroupId 126b90a5-e65a-4fef-98e3-d9b49f4acf12 -MembershipType Shared

Returns all shared channels of a team.

Parameters

-GroupId

Returns the Group ID of the team.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-MembershipType

Membership type of the channel to display; Standard, Private, or Shared

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

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.

Inputs

GroupId

MembershipType

Outputs

Channel