Loading custom functions in PowerShell
Solution 1:
You have to dot source
them:
. .\build_funtions.ps1
. .\build_builddefs.ps1
Note the extra .
This heyscriptingguy
article should be of help - How to Reuse Windows PowerShell Functions in Scripts
Solution 2:
I kept using this all this time
Import-module .\build_functions.ps1 -Force