Skip to content

Export AzDevOpsOrganizationRuleData

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

Export-AzDevOpsOrganizationRuleData

SYNOPSIS

Export rule data for all projects in the DevOps organization

SYNTAX

Export-AzDevOpsOrganizationRuleData [[-PAT] <String>] [[-Organization] <String>] [[-OutputPath] <String>]
 [<CommonParameters>]

DESCRIPTION

Export rule data for all projects in the DevOps organization using Azure DevOps Rest API and this modules functions for analysis by PSRule

EXAMPLES

EXAMPLE 1

Export-AzDevOpsOrganizationRuleData -PAT $PAT -Organization $Organization -OutputPath $OutputPath

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

-Organization

Organization name for Azure DevOps

Type: String
Parameter Sets: (All)
Aliases:

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

-OutputPath

Output path for JSON files

Type: String
Parameter Sets: (All)
Aliases:

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

RELATED LINKS

Clone this wiki locally