How to get a list of custom Powershell functions?

后端 未结 3 2016
野性不改
野性不改 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:28

    To get a list of available functions

    > Get-ChildItem function:\
    

    To remove a powershell function

    # removes `someFunction`
    > Remove-Item function:\someFunction
    

提交回复
热议问题