View on GitHub

azuredevops-powershell

A PowerShell module to interact with the Azure DevOps REST API.

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