Lately we are seeing more and more powershell issues in the Octopus tentacles. We are seeing it in multiple environments and both during package acquisition and package deployment. It can happen in Octopus code or in our code. The common issue is that common powershell functions like Out-String, Test-Path, etc are no longer available and then the deployment fails. I’m having a hard time pinpointing what is causing these issues since the problem started small, but are now failing more and more. Could this be an issue in one of the latest Octopus releases? We upgraded to version 3.4.14 a few days ago and are seeing this error after that
| Running: Download package Confirmit.Server.Bootstrapper version 21.0.4 from http://nynugetserver/artifactory/api/nuget/myfeed/
14:25:42 Verbose | Octopus Deploy: Calamari version 3.4.37+Branch.master.Sha.50314019a4a8cd430c3fa2cc346f17e9dd4f7ed7
14:25:54 Error | Out-String : The term 'Out-String' is not recognized as the name of a cmdlet,
14:25:54 Error | function, script file, or operable program. Check the spelling of the name, or
14:25:54 Error | if a path was included, verify that the path is correct and try again.
14:25:54 Error | At C:\Octopus\Work\20161103132541-2893\Bootstrap.Script.ps1:17 char:35
14:25:54 Error | + Write-Verbose ($PSVersionTable | Out-String)
14:25:54 Error | + ~~~~~~~~~~
14:25:54 Error | + CategoryInfo : ObjectNotFound: (Out-String:String) [], ParentCo
14:25:54 Error | ntainsErrorRecordException
14:25:54 Error | + FullyQualifiedErrorId : CommandNotFoundException
/Jan