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
(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 or Private (available in private preview)
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: | False |
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.