Is there a way to determine if all machines are on a specific version of Powershell? I had done a deployment to production and only at that moment realized that one of the machines was on Powershell 2 and that my script even required Powershell 4. This caused my deployment to fail. It would be nice if Octopus either had an option to declare a minimum version for all machines or if it at least had a screen that showed what version was on each machine.
Thanks for reaching out. This isn’t currently possible, but it should be fairly easy to script it and add it as a first step of your deployment process.
That said, its not a bad suggestion at all if you want to add it to uservoice: http://octopusdeploy.uservoice.com/
You could also add the “Requires” statement to declare that a certain script should only run if the machine has X version: https://technet.microsoft.com/en-us/library/hh847765.aspx