Run powershell scripts under an explicit .NET version
When running powershell scripts, my understanding is that octopus just calls powershell.exe.
Powershell.exe may default to running the script under .NET 2 or .NET 4, and octopus has no control over this currently.
This can lead to situations where powershell scripts run on some environments, but not others, due to inconsistencies between the .NET version being used accross environments.
There appears to be a simple solution to this problem, that will allow the tentacle to still work in the same way (calling a powershell exe) AND specify the .NET version that the script runs under. Read Tim Lewis's answer (at bottom) here: http://stackoverflow.com/questions/2094694/how-can-i-run-powershell-with-the-net-4-runtime
It would make my life much easier if Octopus can provide a way to be explicit about which .NET runtime a script will run under.
Darrell Tunnell commented
No feedback on this? Perhaps it has been addressed in an update?