Retrieve an artifact during a build project’s execution.
Get-PSMDBuildArtifact [[-Name] <String>] [[-Tag] <String>] [<CommonParameters>]
Retrieve an artifact during a build project’s execution. These artifacts are usually created during such an execution and discarded once completed.
List all available artifacts.
Get-PSMDBuildArtifact -Name ReleasePath
Returns the artifact named “ReleasePath”
Get-PSMDBuildArtifact -Tag pssession
Returns all artifacts with the tag “pssession”
The name by which to search for artifacts. Defaults to ‘*’
Type: String Parameter Sets: (All) Aliases: Required: False Position: 1 Default value: * Accept pipeline input: False Accept wildcard characters: False
Search for artifacts by tag. Artifacts can receive tag for better categorization. When specifying multiple tags, any artifact containing at least one of them will be returned.
Type: String Parameter Sets: (All) Aliases: Required: False Position: 2 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.