skip to Main Content

Azure Pipeline Yaml; file error when initiating a Powershell script

When I am invoking a yaml file in my Azure Pipeline, sample is - task: AzurePowerShell@5 displayName: 'Execute PowerShell Script on Target VMs' inputs: azureSubscription: ${{ variables.SERVICE_CONNECTION_NAME }} pwsh: true ScriptType: 'FilePath' ScriptPath: 'pipeline-scripts/Deploy-ALZDomainControllers.ps1' env: LOCATION: $(LOCATION) TOP_LEVEL_MG_PREFIX: $(TOP_LEVEL_MG_PREFIX) UPSTREAM_RELEASE_VERSION:…

VIEW QUESTION
Back To Top
Search