-
-
Notifications
You must be signed in to change notification settings - Fork 2
Export AzDevOpsRetentionSettings
github-actions edited this page Apr 1, 2024
·
2 revisions
Export retention settings for a project to a JSON file.
Export-AzDevOpsRetentionSettings -Project <String> [-OutputPath <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Export-AzDevOpsRetentionSettings -Project <String> [-PassThru] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Export retention settings for a project to a JSON file from Azure DevOps REST API.
Get-AzDevOpsRetentionSettings -Project 'MyProject' -OutputPath 'C:\Temp\'
The project to get retention settings for.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The path to export the retention settings to.
Type: String
Parameter Sets: JsonFile
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
If set, the function will return the retention settings as objects instead of writing them to a file.
Type: SwitchParameter
Parameter Sets: PassThru
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
{{ 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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This function requires a connection to Azure DevOps. See Connect-AzDevOps for more information.