April 2019
Intermediate to advanced
372 pages
12h 47m
English
Perform the following steps:
$templates = (Invoke-RestMethod -Method Get -Uri "$baseuri/_apis/process/processes?api-version=5.0" -UseBasicParsing -Headers $headers).value$templates | Format-Table Name, ID
$jsonBody = @{ name = "PowerShellCookBook" description = "The cook book repository!" capabilities = @{ versioncontrol = @{ sourceControlType = "Git" } processTemplate = @{ templateTypeId = $templates | Where Name -eq Agile | Select -Expand id } } } | ConvertTo-Json
$response = Invoke-RestMethod -Method Post -Uri "$baseuri/_apis/projects? ...
Read now
Unlock full access