Skip to content

Get AzArtifact

Apostolis Bekiaris edited this page Apr 26, 2020 · 4 revisions

external help file: XpandPwsh-help.xml Module Name: XpandPwsh online version: schema: 2.0.0

Get-AzArtifact

SYNOPSIS

Download AzureDevOps Build artifacts.

SYNTAX

definition

Get-AzArtifact -Definition <String[]> [-ArtifactName <String>] [-Outpath <DirectoryInfo>] [-NoExpandArchive]
 [-Organization <String>] [-Project <String>] [-Token <String>] [<CommonParameters>]

BuildId

Get-AzArtifact -BuildId <Int32> [-ArtifactName <String>] [-Outpath <DirectoryInfo>] [-NoExpandArchive]
 [-Organization <String>] [-Project <String>] [-Token <String>] [<CommonParameters>]

DESCRIPTION

Download AzureDevOps Build artifacts.

EXAMPLES

Example 1

PS C:\> Get-AzArtifact -BuildId $build.id -Outpath $Root

Download all artifacts from $build.id into the $Root path.

PARAMETERS

-ArtifactName

{{ Fill ArtifactName Description }}

Type: String
Parameter Sets: (All)
Aliases:

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

-BuildId

{{ Fill BuildId Description }}

Type: Int32
Parameter Sets: BuildId
Aliases:

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

-Definition

{{ Fill Definition Description }}

Type: String[]
Parameter Sets: definition
Aliases:

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

-NoExpandArchive

{{ Fill NoExpandArchive Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Organization

{{ Fill Organization Description }}

Type: String
Parameter Sets: (All)
Aliases:

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

-Outpath

{{ Fill Outpath Description }}

Type: DirectoryInfo
Parameter Sets: (All)
Aliases:

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

-Project

{{ Fill Project Description }}

Type: String
Parameter Sets: (All)
Aliases:

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

-Token

{{ Fill Token Description }}

Type: String
Parameter Sets: (All)
Aliases:

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

System.String[]

OUTPUTS

System.Object

NOTES

RELATED LINKS

image

image


Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally