Index to az devops examples
Azure DevOps Services | Azure DevOps Server 2020 | Azure DevOps Server 2019 | TFS 2018 - TFS 2013
Use this index to quickly access examples that showcase use of command line tools. For a list of commands that support Azure DevOps operations, see the following Azure CLI reference articles:
Note
The Azure DevOps Command Line Interface (CLI) is available for Azure DevOps Server 2020 and Azure DevOps Services.
Azure Artifacts
- Universal Packages - download specific files
- Create a feed
- Download a universal package
- Publish a universal package
Azure Boards
Area and Iteration Paths
- Add a project area path
- Add a project iteration
- Delete or update a project iteration path
- List project area paths
- List project iteration paths
- List team areas paths
- List team iteration paths
- Remove area path from a team
- Rename or move a project area path
- Set team area paths
- Set team iteration paths
Queries
Organizations
User accounts
Azure Pipelines
Add and run a pipeline
Agents, agent pools, agent queues
- List agents
- List agent pools
- List agent queues
- Show agent details
- Show agent pool details
- Show agent queue details
Artifacts
Runs
- Add tag to pipeline run
- Delete tag from pipeline run
- List pipeline runs
- List pipeline run tags
- Show pipeline run details
Variables
Variable groups
Azure Repos
Create and manage repositories
Manage policies
- List policies
- Show policy
- Manage branch policies
- Manage approver count policy
- Manage build policies
- Manage case enforcement policy
- Manage file size policy
- Manage comment-required policy
- Manage merge strategy policy
- Manage required reviewer policy
- Create work item linking policy
- Update work item linking policy
Projects, extensions, and wikis
Security groups and permissions
- Add a member to a security group
- Assign allow or deny permission to specified user or group
- Clear all permissions of this token for a user or group
- Create a security group
- Delete a security group
- List tokens for specified user or group and namespace
- List all available namespaces for an organization
- List security groups
- List the memberships for a group or user
- Remove a member from a security group
- Reset permission for specified permission bit(s)
- Show details of a security group
- Show details of permissions available in each namespace
- Show permissions for specified token, namespace and user or group
- Update a security group