< Back

New-TeamChannel

Sat Jan 18, 2020 4:17 pm

NAME New-TeamChannel



SYNOPSIS

Add a new channel to a team.





SYNTAX

New-TeamChannel -GroupId <String> -DisplayName <String> [-Description <String>] [-MembershipType (available in

private preview) <String>] [-Owner (available in private preview) <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



-DisplayName <String>

Channel display name. Names must be 50 characters or less, and can't contain the characters # % & * { } / \\ :

< > ? + | ' "



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Description <String>

Channel description. Channel description can be up to 1024 characters.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-MembershipType (available in private preview) <String>

Channel membership type, Standard or Private.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Owner (available in private preview) <String>

UPN of owner that can be specified while creating a private channel.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

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

GroupId, DisplayName, Description, MembershipType, Owner







OUTPUTS

Id







NOTES









-------------------------- Example 1 --------------------------



New-TeamChannel -GroupId 126b90a5-e65a-4fef-98e3-d9b49f4acf12 -DisplayName "Architecture"



Create a standard channel with display name as "Architecture"

-------------------------- Example 2 --------------------------



New-TeamChannel -GroupId 126b90a5-e65a-4fef-98e3-d9b49f4acf12 -DisplayName "Engineering" -MembershipType Private



Create a private channel with display name as "Engineering"



RELATED LINKS