Skip to content

Instantly share code, notes, and snippets.

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 pmatthews05/5225ac460a07e9d6d03040858a127126 to your computer and use it in GitHub Desktop.
Save pmatthews05/5225ac460a07e9d6d03040858a127126 to your computer and use it in GitHub Desktop.
$PersonalAccessToken = "<PAT TOKEN>"
$TeamProject = '<PROJECT NAME>'
$TeamFoundationCollectionUri = 'https://dev.azure.com/<organizationName >'
$AppRegistrationName = '<Service Principal Name>'
$AppPassword = '<Service Principal Secret>'
$AppSecurePassword = ConvertTo-SecureString -String:$AppPassword -AsPlainText -Force
.\Install-ServiceConnectionManagementGroup.ps1 -PersonalAccessToken $PersonalAccessToken `
-TeamFoundationCollectionUri:$TeamFoundationCollectionUri `
-TeamProject:$TeamProject `
-AppRegistrationName:$AppRegistrationName `
-AppPassword:$AppSecurePassword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment