How to get a list of custom Powershell functions?

后端 未结 1 389
庸人自扰
庸人自扰 2021-02-12 10:04

I use custom powershell functions to make my life easier.

Example:

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

# invoke the function
>          


        
1条回答
  •  余生分开走
    2021-02-12 10:30

    To get a list of available functions

    > Get-ChildItem function:\
    

    To remove a powershell function

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

    0 讨论(0)
提交回复
热议问题