I'm working with Octopus and I need to add in one of my PowerShell scripts the chance to modify an Octopus Parameter (not Variable...). In few words, my website deploys in 2 folders, alternately, and I have to take a trace of this. My idea is to set a parameter that, at every run of the script reads the actual value and so knows where to deploy this new release.
I also tried some stuff such as
$OctopusParameters['Destination']=$Number
and
Set-OctopusVariable -Name 'Destination' -Value $Number
but without success.
I hope I've been clear enough and thanks in advance for everyone will reply.