This module contains a collection of general utility functions for PowerShell, Azure, Azure DevOps and Slack. See below for some scenarios
$credential = Get-AzureDevOpsCredential -Url 'https://[email protected]/!company!'
Register Azure DevOps private Artifacts Feed (package-source) & import modules from this Artifacts Feed
Register-AzureDevOpsPackageSource -Name 'MyCustomFeedName' -Url 'https://pkgs.dev.azure.com/!company!/_packaging/!feedname!/nuget/v2' -Credential $credential
Import-AzureDevOpsModules -PackageSource 'MyCustomFeedName' -Modules @('module1','module2') -Credential $credential -Latest
Publish-PackageToAzureDevOps -ModuleName 'MyModule' -ModulePath './Output' -Feedname 'MyCustomFeedName' -FeedUrl 'https://pkgs.dev.azure.com/!company!/_packaging/!feedname!/nuget/v2' -AccessToken 'sasasasa'
$Tokens = @{}
Add-TokensFromAzureKeyVault -Vault 'MyVaultName' -Tokens $Tokens -SubscriptionId 'mySubscriptionId'