CmdID / PowerShell / Cmdlets / Get
Get-TeamChannel
This cmdlet supports retrieving channels hosted by a team. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 2 parameters Its page in the reference
Parameters
-GroupIdGroupId of the team-MembershipTypeMembership type of the channel to display, Standard or Private (available in private preview)