Skip to content

Export AzDevOpsGroups

github-actions edited this page Apr 1, 2024 · 2 revisions

Export-AzDevOpsGroups

SYNOPSIS

Export all groups from Azure DevOps for a project to a JSON file

SYNTAX

JsonFile

Export-AzDevOpsGroups -Project <String> [-OutputPath <String>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

PassThru

Export-AzDevOpsGroups -Project <String> [-PassThru] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Export all groups from Azure DevOps for a project to a JSON file

EXAMPLES

EXAMPLE 1

Export-AzDevOpsGroups -Project 'MyProject' -OutputPath 'C:\Temp\'

PARAMETERS

-Project

The name of the project to get groups for

Type: String
Parameter Sets: (All)
Aliases:

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

-OutputPath

The folder path to the JSON file to export to

Type: String
Parameter Sets: JsonFile
Aliases:

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

-PassThru

Return the group details as an object instead of exporting to a file

Type: SwitchParameter
Parameter Sets: PassThru
Aliases:

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

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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

NOTES

This function requires a connection to Azure DevOps. See Connect-AzDevOps for more information.

RELATED LINKS

Clone this wiki locally