How to troubleshoot MissingEndParenthesisInExpression in Azure Yaml Pipelines powershell task arguments
问题 yaml PowerShell task looks something like this: - task: PowerShell@2 displayName: 'test' inputs: targetType: filePath filePath: '$(Agent.BuildDirectory)\$(artifactName)\testpath\testscript.ps1' arguments: '-parameterFilePath $(Agent.BuildDirectory)\$(artifactName)\mainfolder\params.json -appSecurePassword (convertTo-SecureString $(appPassword) -AsPlainText -Force) -vmSecurePassword (convertTo-SecureString $(vmPassword) -AsPlainText -Force)' However, I get this error: 2020-06-09T12:54:59