PowerTip: Find All Modules on a System by Using PowerShell

PowerTip: Find All Modules on a System by Using PowerShell

  • Comments 3
  • Likes

Summary: Learn how to find all modules on a system by using Windows PowerShell.

Hey, Scripting Guy! Question How can I find all of the modules on my system by using Windows PowerShell?

Hey, Scripting Guy! Answer Use the Get-Command cmdlet and specify all of the modules. Pipe the results to the Group-Object cmdlet, and sort the results to make it easier to read, as shown here.

Get-Command -Module * | Group-Object module -NoElement | sort-object name

 

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • what's wrong with get-module -listavailable?

  • Thanks for the great information

  • yup i agree, use Get-Module -ListAvailable.  Although i did learn about the Group-Object cmdlet, Thanks!