Update to powershell SDK docs: 13790800396

This commit is contained in:
developer-relations-sp
2025-03-11 14:40:01 +00:00
parent 662c0ec138
commit 40070d0b19
6 changed files with 31 additions and 15 deletions

View File

@@ -13770,6 +13770,7 @@
label: SDK_tools/sdk/powershell/beta/methods/work-items#complete-work-item
source: |
$Id = "ef38f94347e94562b5bb8424a56397d8" # String | The ID of the work item
$Body = "MyBody" # String | Body is the request payload to create form definition request (optional)
# Complete a Work Item
@@ -13777,7 +13778,7 @@
Complete-BetaWorkItem -Id $Id
# Below is a request that includes all optional parameters
# Complete-BetaWorkItem -Id $Id
# Complete-BetaWorkItem -Id $Id -Body $Result
} catch {
Write-Host $_.Exception.Response.StatusCode.value__ "Exception occurred when calling Complete-BetaWorkItem"
Write-Host $_.ErrorDetails
@@ -13875,8 +13876,8 @@
- lang: PowerShell
label: SDK_tools/sdk/powershell/beta/methods/work-items#get-work-item
source: |
$Id = "MyId" # String | ID of the work item.
$OwnerId = "MyOwnerId" # String | ID of the work item owner. (optional)
$Id = "2c9180835d191a86015d28455b4a2329" # String | ID of the work item.
$OwnerId = "2c9180835d191a86015d28455b4a2329" # String | ID of the work item owner. (optional)
# Get a Work Item