{"id":17022420,"url":"https://github.com/flcdrg/azure-pipelines-powershell-params","last_synced_at":"2026-05-02T10:35:56.341Z","repository":{"id":186449241,"uuid":"675192141","full_name":"flcdrg/azure-pipelines-powershell-params","owner":"flcdrg","description":"Passing parameters to script tasks in Azure Pipelines","archived":false,"fork":false,"pushed_at":"2024-06-18T07:05:11.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-03T22:04:52.223Z","etag":null,"topics":["azure-pipelines","powershell"],"latest_commit_sha":null,"homepage":"https://dev.azure.com/gardiner/GitHub%20Builds/_build?definitionId=32","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flcdrg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-06T04:59:00.000Z","updated_at":"2024-06-18T07:05:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd40fae2-35b4-4c27-86b2-20ce8e887f4d","html_url":"https://github.com/flcdrg/azure-pipelines-powershell-params","commit_stats":null,"previous_names":["flcdrg/azure-pipelines-powershell-params"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flcdrg%2Fazure-pipelines-powershell-params","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flcdrg%2Fazure-pipelines-powershell-params/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flcdrg%2Fazure-pipelines-powershell-params/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flcdrg%2Fazure-pipelines-powershell-params/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flcdrg","download_url":"https://codeload.github.com/flcdrg/azure-pipelines-powershell-params/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244998096,"owners_count":20544859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-pipelines","powershell"],"created_at":"2024-10-14T07:10:17.272Z","updated_at":"2026-05-02T10:35:51.308Z","avatar_url":"https://github.com/flcdrg.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure Pipelines PowerShell tasks with parameters\n\nTrying to pass parameters to PowerShell script tasks in Azure Pipelines that use the [`param` keyword](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_functions?view=powershell-7.4\u0026WT.mc_id=DOP-MVP-5001655#functions-with-parameters).\n\nTL;DR\n\n[AzureCLI@2](https://learn.microsoft.com/azure/devops/pipelines/tasks/reference/azure-cli-v2?view=azure-pipelines\u0026WT.mc_id=DOP-MVP-5001655) is the only one of the three tasks that allows you to pass parameters in via the `arguments` property.\n\nThe arguments property must be a single-line string, so use the `\u003e` block style in your YAML if you want to split it over multiple lines.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflcdrg%2Fazure-pipelines-powershell-params","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflcdrg%2Fazure-pipelines-powershell-params","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflcdrg%2Fazure-pipelines-powershell-params/lists"}