Skip to content

Instantly share code, notes, and snippets.

View Branyac's full-sized avatar
😁

Sergio Monedero Branyac

😁
View GitHub Profile
@Branyac
Branyac / AzureDevOps-CloneTestPlan.ps1
Created April 7, 2019 18:45
AzureDevOps-CloneTestPlan
$organization = "your_organization_name"
$PAT = "your_PAT"
$project = "your_project_name"
$planId = "testplan_id_from"
$suiteId = "testsuite_id_from"
$cloneTo = "name_of_new_testplan"
$authorization = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes(":$PAT"))
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("Accept-Charset", 'UTF-8')
@Branyac
Branyac / Azure-ARMTemplate-CreateStorageKeyvaultAndStoreKeyInSecret.json
Created November 10, 2021 20:03
Azure-ARMTemplate-CreateStorageKeyvaultAndStoreKeyInSecret
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"keyvaultName": {
"type": "string"
},
"storageAccountName": {
"type": "string"
},