PowerTip: Obtain a List of All Functions in PowerShell

PowerTip: Obtain a List of All Functions in PowerShell

  • Comments 3
  • Likes

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:

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • thank you

  • Cool stuff!

  • (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?