-
-
Notifications
You must be signed in to change notification settings - Fork 2
Export AzDevOpsVariableGroups
github-actions edited this page Sep 21, 2023
·
5 revisions
Export variable groups to JSON files.
Export-AzDevOpsVariableGroups [-Organization] <String> [-Project] <String> [-PAT] <String>
[-OutputPath] <String> [<CommonParameters>]
Export Azure DevOps variable groups for a project to JSON files.
Export-AzDevOpsVariableGroups -Organization 'myorganization' -Project 'myproject' -PAT $myPAT -OutputPath 'C:\temp'
The name of the Azure DevOps organization.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the Azure DevOps project.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
A personal access token (PAT) used to authenticate with Azure DevOps.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The path to export variable groups to.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
All variable group files will have a suffix of .ado.vg.json.