Skip to content

Get AzDevOpsHeader

github-actions edited this page Sep 26, 2023 · 3 revisions

Get-AzDevOpsHeader

SYNOPSIS

Function to create Azure DevOps Rest API header from PAT

SYNTAX

Get-AzDevOpsHeader [[-PAT] <String>] [<CommonParameters>]

DESCRIPTION

Function to create Azure DevOps Rest API header from PAT

EXAMPLES

EXAMPLE 1

$header = Get-AzDevOpsHeader -PAT $PAT

PARAMETERS

-PAT

Personal Access Token (PAT) for Azure DevOps

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
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.Collections.Hashtable

NOTES

RELATED LINKS

Clone this wiki locally