Skip to content

Get AzDevOpsVariableGroups

github-actions edited this page Oct 21, 2023 · 4 revisions

Get-AzDevOpsVariableGroups

SYNOPSIS

Get all variable groups for a project from Azure DevOps.

SYNTAX

Get-AzDevOpsVariableGroups -Organization <String> -Project <String> -PAT <String> [-TokenType <String>]
 [<CommonParameters>]

DESCRIPTION

Get all variable groups for a project from Azure DevOps using the REST API.

EXAMPLES

EXAMPLE 1

Get-AzDevOpsVariableGroups -Organization 'myorganization' -Project 'myproject' -PAT $myPAT

PARAMETERS

-Organization

The name of the Azure DevOps organization.

Type: String
Parameter Sets: (All)
Aliases:

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

-Project

The name of the Azure DevOps project.

Type: String
Parameter Sets: (All)
Aliases:

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

-PAT

A personal access token (PAT) used to authenticate with Azure DevOps.

Type: String
Parameter Sets: (All)
Aliases:

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

-TokenType

Token type for Azure DevOps (FullAccess, FineGrained, ReadOnly)

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: FullAccess
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

NOTES

RELATED LINKS

Clone this wiki locally