Skip to content

Get‑AzDevOpsOperation

github-actions[bot] edited this page Aug 18, 2026 · 1 revision

SYNOPSIS

Returns an Azure DevOps 'Operation' as identified by the 'OperationId' provided.

SYNTAX

Get-AzDevOpsOperation [-ApiUri] <String> [-Pat] <String> [[-OperationId] <String>]
 [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1

Get-AzDevOpsOperation -ApiUri 'YourApiUriHere' -Pat 'YourPatHere' -OperationId 'YourOperationIdHere'

Returns the 'Operation' resource from Azure DevOps related to the 'OperationId' value provided.

PARAMETERS

-ApiUri

The URI of the Azure DevOps API to be connected to. For example:

https://dev.azure.com/someOrganizationName/_apis/

Type: String
Parameter Sets: (All)
Aliases: Uri

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OperationId

The 'id' of the 'Operation' being obtained/requested.

Type: String
Parameter Sets: (All)
Aliases: ResourceId, Id

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Pat

The 'Personal Access Token' (PAT) to be used by any subsequent requests/operations against the Azure DevOps API. This PAT must have the relevant permissions assigned for the subsequent operations being performed.

Type: String
Parameter Sets: (All)
Aliases: PersonalAccessToken

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Management.Automation.PSObject[]

NOTES

RELATED LINKS

Commands

Resources

Clone this wiki locally