Get-TeamAllChannel
This cmdlet supports retrieving all channels of a team, including incoming channels and channels hosted by the team.
Syntax
Get-TeamAllChannel
-GroupId <String>
[-MembershipType <String>]
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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-MembershipType
Membership type of the channel to display; Standard, Private, or Shared
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
GroupId, MembershipType
Outputs
Channel
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈