Update-AzureDevOps Cmdlet
Updates Azure DevOps data.
Syntax
Update-AzureDevOps [parameters]
Remarks
The Update-AzureDevOps cmdlet allows you to use a syntax similar to SQL UPDATE statements to update Azure DevOps data.
$conn = Connect-AzureDevOps - AuthScheme="Basic" Organization="MyAzureDevOpsOrganization" Catalog="Project_dev" Schema="Project" Update-AzureDevOps -Connection $conn -Table "WorkItems" -Columns @("BuildNumber") -Values @("Jon Doe") -Id "2"The Where parameter can also be used to specify the primary key of the table:
Update-AzureDevOps -Connection $conn -Table "WorkItems" -Columns @("BuildNumber") -Values @("Jon Doe") -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'" | Update-AzureDevOps -Columns @("Reason") -Values @("Manual 2")