Powershell legacy mode

How do you set Octopus to use the powershell legacy mode as mentioned here:

We have a failing postdeploy script since upgrading and wish to rule out the powershell process change as the cause…


Sorry for the late reply - the variable is OctopusUseLegacyPowerShellEngine which can be set to true to use the old host.