PowerTip: Discovering PowerShell Functions

Summary: Learn how to discover Windows PowerShell 3.0 functions.

Hey, Scripting Guy! Question How can I find all of the functions that exist in my Windows PowerShell 3.0 installation?

Hey, Scripting Guy! Answer

a. Use the Function drive:

            Dir Function:

b. First import all of the modules, and then perform a directory listing of the function drive:

Get-Module -ListAvailable | Import-Module

Dir function:

c. Use the Get-Command cmdlet and search for the command type of function:

Get-Command  -CommandType function