< Back
Remove-TeamChannel
Post
NAME Remove-TeamChannel
SYNOPSIS
Delete a channel. This will not delete content in associated tabs.
Note: The channel will be "soft deleted", meaning the contents are not permanently deleted for a time. So a
subsequent call to Add-TeamChannel using the same channel name will fail if enough time has not passed.
SYNTAX
Remove-TeamChannel -GroupId <String> -DisplayName <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 name to be deleted
Required? true
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
OUTPUTS
NOTES
-------------------------- Example 1 --------------------------
Remove-TeamChannel -GroupId 2f162b0e-36d2-4e15-8ba3-ba229cecdccf -DisplayName "Tech Reads"
RELATED LINKS
SYNOPSIS
Delete a channel. This will not delete content in associated tabs.
Note: The channel will be "soft deleted", meaning the contents are not permanently deleted for a time. So a
subsequent call to Add-TeamChannel using the same channel name will fail if enough time has not passed.
SYNTAX
Remove-TeamChannel -GroupId <String> -DisplayName <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 name to be deleted
Required? true
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
OUTPUTS
NOTES
-------------------------- Example 1 --------------------------
Remove-TeamChannel -GroupId 2f162b0e-36d2-4e15-8ba3-ba229cecdccf -DisplayName "Tech Reads"
RELATED LINKS