Skip to content

mehmetseckin/azuredevops-powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AzureDevOps icon

AzureDevOps

Build Status Azure DevOps Tests Azure DevOps Coverage Azure DevOps Release - PowerShell Gallery AzureDevOps PSGallery version AzureDevOps PSGallery downloads

AzureDevOps is a very simple (and primitive) PowerShell module to interact with the Azure DevOps REST API.

Getting started

  1. Install the module

    Install-Module AzureDevOps
  2. Import the module

    Import-Module AzureDevOps
  3. Add connection details

    # Add Azure DevOps connection details
    Add-AzureDevOpsAccount `
        -OrganisationName "contoso" `
        -ProjectName "AzureDevOps PowerShell Demo" `
        -UserName "user@name.com" `
        -Token "<azure-devops-personal-access-token>";
  4. Check out the examples in the Examples folder.

  5. Or, check out the list of available cmdlets

    Get-Command *AzureDevOps*
  6. Use Get-Help to see details for the cmdlets.

    Get-Help Add-AzureDevOpsAccount -Detailed

Documentation

Documentation for the individual commands is available in the Docs folder.

Alternatives

  • vsteam - A comprehensive PowerShell module for accessing TFS and VSTS.
  • AzureDevOpsPowerShell - A selection of PowerShell scripts that make use of the Azure DevOps (TFS/VSTS) APIs.
  • vststools-cli - A set of useful command-line tools and extensions for VSTS.
  • AzurePipelinesPS - A PowerShell module that makes interfacing with Azure Pipelines a little easier