< Back

Get-TeamChannel

Sat Jan 18, 2020 4:16 pm

NAME Get-TeamChannel



SYNOPSIS

Get all the channels for a team.





SYNTAX

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





DESCRIPTION







PARAMETERS

-GroupId <String>

GroupId of the team



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-MembershipType <String>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









-------------------------- 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.



RELATED LINKS