< Back
Remove-AzDoGitRepository
Post
NAME Remove-AzDoGitRepository
SYNOPSIS
Removes a Git repository from the specified Azure DevOps project.
SYNTAX
Remove-AzDoGitRepository [-Name] <String> [-ProjectId] <String> [[-APIVersion] <String>] [<CommonParameters>]
DESCRIPTION
Removes a Git repository from the specified Azure DevOps project.
PARAMETERS
-Name <String>
Specifies the name of the Git repository to be deleted.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ProjectId <String>
Specifies the Azure DevOps project (as a GUID).
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-APIVersion <String>
Specifies the API version which is used to query the Azure DevOps API.
Required? false
Position? 3
Default value 5.0-preview.1
Accept pipeline input? false
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-AzDoGitRepository -Name "nft" -ProjectId "0bad119f-011c-46f5-9861-557462ebf8fa"
RELATED LINKS
SYNOPSIS
Removes a Git repository from the specified Azure DevOps project.
SYNTAX
Remove-AzDoGitRepository [-Name] <String> [-ProjectId] <String> [[-APIVersion] <String>] [<CommonParameters>]
DESCRIPTION
Removes a Git repository from the specified Azure DevOps project.
PARAMETERS
-Name <String>
Specifies the name of the Git repository to be deleted.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ProjectId <String>
Specifies the Azure DevOps project (as a GUID).
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-APIVersion <String>
Specifies the API version which is used to query the Azure DevOps API.
Required? false
Position? 3
Default value 5.0-preview.1
Accept pipeline input? false
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-AzDoGitRepository -Name "nft" -ProjectId "0bad119f-011c-46f5-9861-557462ebf8fa"
RELATED LINKS