How to get a list of custom Powershell functions?

后端 未结 3 2019
野性不改
野性不改 2021-02-12 09:46

I use custom powershell functions to make my life easier.

Example:

# custom function
> function build {cmd /c build.ps1}

# invoke the function
>          


        
3条回答
  •  别跟我提以往
    2021-02-12 10:54

    One solution for you is to put all your functions in a psm1 file and create a module. That way you can import the module and have all the commands in a nice module.

提交回复
热议问题