Get-TeamChannel
This cmdlet supports retrieving channels hosted by a team.
PowerShell
Get-TeamChannel
-GroupId <String>
[-MembershipType <String>]
[<CommonParameters>]
This cmdlet supports retrieving channels hosted by a team.
PowerShell
Get-TeamChannel -GroupId af55e84c-dc67-4e48-9005-86e0b07272f9
Get channels of the group.
PowerShell
Get-TeamChannel -GroupId af55e84c-dc67-4e48-9005-86e0b07272f9 -MembershipType Private
Get all private channels of the group.
GroupId of the team
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
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 |