Loading custom functions in PowerShell

后端 未结 2 1173
陌清茗
陌清茗 2020-12-24 00:55

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

2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-24 01:25

    I kept using this all this time

    Import-module .\build_functions.ps1 -Force
    

提交回复
热议问题