I'm trying to get a variable value that lives in an Azure DevOps Library Group.
Normally, you would get it like this in, say, a PowerShell script of an Azure Pipeline job:
$(libraryVariableName)
However, I was wondering instead of the hard-coded value 'libaryVariableName' could I use a variable instead:
$testVarName = 'librayVariableName'
#then try to get the value like this:
$($testVarName)
But this doesn't work, it just prints out 'libraryVariableName' instead of the actual value