Remove-AzureDevOps Cmdlet
Deletes Azure DevOps data.
Syntax
Remove-AzureDevOps [parameters]
Remarks
The Remove-AzureDevOps cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Azure DevOps data.
$conn = Connect-AzureDevOps - AuthScheme="Basic" Organization="MyAzureDevOpsOrganization" Catalog="Project_dev" Schema="Project" Remove-AzureDevOps -Connection $conn -Table "WorkItems" -Id "2"The Where parameter can also be used to specify the primary key:
Remove-AzureDevOps -Connection $conn -Table "exTablePowershell;" -Where "Id = 2"The primary key can also be passed to the cmdlet along the pipeline:
Select-AzureDevOps -Connection $conn -Table WorkItems -Where "Reason = 'Manual'" | Remove-AzureDevOps