I have a Powershell script that is executed in my YAML pipeline during the release stage.
I can reference group variables using $(myVar)
. However now I have a need to reference a variable dynamically given its name.
For instance, if I have the string 'myVar', I want to search the variable group for a variable named 'myVar' and get its value.
Is this possible to achieve ?