Skip to content

Export AzDevOpsRuleData

github-actions edited this page Dec 10, 2023 · 5 revisions

Export-AzDevOpsRuleData

SYNOPSIS

Run all JSON export functions for Azure DevOps for analysis by PSRule

SYNTAX

Export-AzDevOpsRuleData [-Project] <String> [-OutputPath] <String> [<CommonParameters>]

DESCRIPTION

Run all JSON export functions for Azure DevOps using Azure DevOps Rest API and this modules functions for analysis by PSRule

EXAMPLES

EXAMPLE 1

Export-AzDevOpsRuleData -Project $Project -OutputPath $OutputPath

PARAMETERS

-Project

Project name for Azure DevOps

Type: String
Parameter Sets: (All)
Aliases:

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

-OutputPath

Output path for JSON files

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
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