PowerTip: Obtain a List of All Functions in PowerShell

Summary: Learn how to easily find functions in Windows PowerShell.

Hey, Scripting Guy! Question How can I see what functions exist in my current Windows PowerShell session?

Hey, Scripting Guy! Answer Use the Function drive, for example:

dir function:

Comments (3)

  1. Jeff Seb says:

    (Reposting message for tracking, forgot to login)

    Nice! Is there a possibility to show only the functions that are loaded from own scripts? I load different functions with different profiles when I run powershell. I would like to define the "Own made functions" that are Currently loaded in the profile.

    My workaround is naming my functions with my name in front. For example: JeffInstallapps. It will list my functions with > dir function: | where-object {$_.name -match "Jeff"}

    Is there somewhere a property that will show from wich ps1 file the functions are loaded?

Skip to main content