I\'ve got some additional functions that I\'ve defined in an additional PowerShell script file, that I\'m trying to load in a main .ps1 file. However, when I call the .ps1 f
I kept using this all this time
Import-module .\build_functions.ps1 -Force
You have to dot source them:
dot source
. .\build_funtions.ps1 . .\build_builddefs.ps1
Note the extra .
.
This heyscriptingguy article should be of help - How to Reuse Windows PowerShell Functions in Scripts
heyscriptingguy