I was trying to store a comma separated value in Octopus output variable but that comma gets converted to space when I print it later.
eg $anyString = “Hello,Hi”
Set-OctopusVariable -name “Test” -value “$anyString”
#{Octopus.Action[Set Target List].Output.Test} will give me- Hello Hi.
Am I doing something wrong here? I need a comma separated target role list so I can replace it in some configuration file using variable substitution.