So I just had a problem where all deploys using a variable set crashed with this error;
$ : The term '$' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Octopus\Work\20161011065632-218\Bootstrap.Script.ps1:772 char:3 + $ = $OctopusParameters[[System.Text.Encoding]::UTF8.GetString([Convert]::Fr
This was caused by the variable set having a variable with the name “###”. After removing that it works again.
Just a heads up for anyone else.