Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created April 24, 2016 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/bb42587c738414e34ef60c7b66cab06a to your computer and use it in GitHub Desktop.
Save justinyoo/bb42587c738414e34ef60c7b66cab06a to your computer and use it in GitHub Desktop.
Azure DevOps Series
$password = ConvertTo-SecureString "abcdefg==" -AsPlainText -Force
$credential = New-Object System.Management.Automation.PSCredential ("abcd-efgh-xxxx-xxxx", $password)
Login-AzureRmAccount -ServicePrincipal -Tenant opqr-stuv-xxxx-xxxx -Credential $credential
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment