| external help file | Module Name | online version | schema |
|---|---|---|---|
AzdoAPITools-help.xml |
AzDoAPITools |
2.0.0 |
Returns an array of names for all available Build / Release Definitions / Task Groups in a project.
Get-AzDoAPIToolsDefinitonsTaskGroupNames [-ApiType] <String> [-Projectname] <String> [[-profilename] <String>]
[<CommonParameters>]
Returns an array of names for all available Build / Release Definitions / Task Groups in a project.
PS C:\> {Get-AzDoAPIToolsDefinitonsTaskGroupNames -ApiType 'BuildDefinition' -Projectname 'YourAzDoProject'Will return an array with unique names of Build Definitions for YourAzDoProject.
PS C:\> {Get-AzDoAPIToolsDefinitonsTaskGroupNames -ApiType 'ReleaseDefinition' -Projectname 'YourAzDoProject'Will return an array with unique names of Release Definitions for YourAzDoProject.
PS C:\> {Get-AzDoAPIToolsDefinitonsTaskGroupNames -ApiType 'TaskGroup' -Projectname 'YourAzDoProject'Will return an array with unique names of found Task Groups for YourAzDoProject.
PS C:\> {Get-AzDoAPIToolsDefinitonsTaskGroupNames -ApiType 'TaskGroup' -Projectname 'YourAzDoProject' -Profilename 'Alternative Alias in config.json'Will return an array with unique names of found Task Groups for YourAzDoProject. Will use the Connection details specified in -profilename rather than the first entry in config.json.
Specifies what API to call. Knows BuildDefinition, ReleaseDefinition and TaskGroup as accepted values.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: BuildDefinition, ReleaseDefinition, TaskGroup
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe project to use to call the AzDo API. Should be the same as the project used to add Metadata / retrieve the Build Definitions.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseOptional parameter to target a specific alias inside the config.json to use as a connection to AzDo. The -ProjectName provided should be accessible from this profile.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.