Skip to content

Latest commit

History

History
118 lines (86 loc) · 2.64 KB

File metadata and controls

118 lines (86 loc) · 2.64 KB
external help filecore-help.xml
Module Namecore
online versionhttps://github.com/Azure-Devops-PowerShell-Module/core/blob/master/docs/Remove-AzDevOpsTeam.md#remove-azdevopsteam
schema2.0.0

Remove-AzDevOpsTeam

SYNOPSIS

Delete a team.

SYNTAX

Remove-AzDevOpsTeam [-ProjectId] <Guid> [-TeamId] <Guid> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

This function allows you to remove a team from an Azure Devops Project

EXAMPLES

Example 1

PS C:\>Remove-AzDevOpsTeam-ProjectId d5cf30dd-c965-43f3-9f4e-3dce76ed226a -TeamId 9a305dd2-d928-44ab-84bf-03ccaa9b54c4
Confirm
Are you sure you want to perform this action?
Performing the operation "Remove team a whole new team from 123456-CustomerAccount Azure Devops Projects" on target "Delete".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y

Removing a team from a project

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameterParameter Sets: (All)Aliases: cfRequired: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False

-ProjectId

A Project Id

Type: GuidParameter Sets: (All)Aliases:
Required: TruePosition: 0Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False

-TeamId

A Team Id

Type: GuidParameter Sets: (All)Aliases:
Required: TruePosition: 1Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameterParameter Sets: (All)Aliases: wiRequired: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: False

CommonParameters

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

INPUTS

None

OUTPUTS

System.String

NOTES

RELATED LINKS

Connect-AzDevOpsOrganization

Get-AzDevOpsProject

Get-AzDevOpsTeam