This repository contains functions for creating and maintaining Azure DevOps environments using OAuth and simple login without PATs.
This project started out as a hackathon around PowerShell and Pester with the goal to be able to create, update, and remove all or most of the parts we regularly use in our own Azure DevOps environments, in a standardized and easy way.
From PSGallery, run:
Install-Module ADOPSOr download this repo and run Invoke-build in it to build your own release
Or download this repo and import from ./source/ folder
Certain cmdlets use undocumented, non-version-controlled, and/or unsupported REST API endpoints. These require a variable to be set, or the -Force switch to be used.
Activate these cmdlets by passing the ArgumentList:
Import-Module ADOPS -ArgumentList $trueOr by setting the AdopsAllowInsecureApis variable before importing the module:
$AdopsAllowInsecureApis = $true
Import-Module ADOPSUsing a cmdlet with -Force:
Get-ADOPSTenantPolicy -ForceIf you find a bug or have an idea for a new feature create an issue in the repo. Please have a look and see if a similar issue is already created before submitting.
If you like this module and want to contribute you are very much welcome to do so. Please read our Contribution Guide before you start! ❤
We try to maintain high test coverage, and encourage TDD using Pester. We will gladly help out if you need help getting started with it.
This project is currently maintained by the following coders: