Script module

I’m having a difficult time to use script module. When I use the sample function Say-Hello, I always get the usual PowerShell error message that it cannot be recognized.
Do I have to use Import-Module manually in the pre-deployment script? I tried Get-Module -ListAvailable in there but the module name is not listed.

Hi Jake,

Thanks for getting in touch! There is a little bit of a bug here with PowerShell and Octopus.
If in your PS script (not the script module) you put a new line after Say-Hello, and create a new release you should find it works.

Hope that helps!