Edit

Share via


Remove-Team

This cmdlet deletes a specified Team from Microsoft Teams.

NOTE: The associated Office 365 Unified Group will also be removed.

Syntax

Default (Default)

Remove-Team
    -GroupId <String>
    [<CommonParameters>]

Description

Removes a specified team via GroupID and all its associated components, like O365 Unified Group...

Examples

Example 1

Remove-Team -GroupId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df

Parameters

-GroupId

GroupId of the team

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.