Q. How can I get a list of all the Windows PowerShell modules that are available to be imported?

John Savill

April 17, 2009

1 Min Read
ITPro Today logo

A. The Get-Module cmdlet has a -ListAvailable switch that will list all modules that are available on a computer. The syntax for the cmdlet is simply

Get-Module -ListAvailable

The cmdlet gives you a lot of information. If you just want to see the module names and their descriptions, you can pass the output into the format-table cmdlet and show just the Name and Description properties, as shown here.

PS C:Userssavadmin> Get-Module -ListAvailable | Format-Table Name, DescriptionName                  Description----                  -----------ADRMS                 Microsoft Windows Active Directory Rights Management Ser...AppLocker             Powershell AppLocker ModuleBestPractices         Best Practices ModuleBitsTransferFailoverClustersFileTransfer          Powershell File Transfer ModulePSDiagnostics         Windows PowerShell Diagnostic Utilities ModuleServerManagerTroubleshootingPack   Microsoft Windows TroubleshootingPack Module

Related Reading:


Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.

About the Author(s)

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like