I wrote a script module in powershell. When I call it from a custom script step using powershell, or a custom step that does the same thing using powershell I am unable to resolve it as a reference.
I’ve tried the Import-Module approach, and based on the documentation here: https://octopus.com/docs/administration/script-modules
I have created a module that has a couple of parameter inputs, and they are called by name in the code.
in the code I call it like:
replacething -path $path -search $item -replace $theThing -pattern *.doc
Am I calling it wrong?
I found this topic from a year ago that this seems similar to. https://help.octopusdeploy.com/discussions/questions/3440-script-module