Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Discovering PowerShell Functions

$
0
0

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


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>