Get-InstalledModule cmdlet gets a list of installed modules by PowerShellGet. The PowerShell modules are installed using PowerShellGet. Get-InstalledModule
lists installed modules, get module version, name, repository, and description.

In this article, we will discuss how to use the Get-InstalledModule cmdlet to list installed modules and get the module version and other module information.
PowerShell Get-InstalledModule
Get-InstalledModule cmdlet gets a list of modules installed on the computer using PowerShellGet.
Syntax
Get-InstalledModule
[[-Name] <String[]>]
[-MinimumVersion <String>]
[-RequiredVersion <String>]
[-MaximumVersion <String>]
[-AllVersions]
[-AllowPrerelease]
[<CommonParameters>]
Parameters
- Name – Specify the names of the modules as an array
- MinimumVersion – Specify the minimum version of a module to get
- RequiredVersion – Specify the exact version of a module to get
- MaximumVersion – Specify the maximum version of a module to get
- AllVersions – Use it to get all available versions of a module.
Let’s understand the Get-InstalledModule cmdlet with an example to list PowerShell modules.
How to Get all Installed Modules
Using the Get-InstalledModule cmdlet in PowerShell, you can get a list of installed modules on the computer, run the following command.
Get-InstalledModule
In the above PowerShell script, the Get-InstalledModule command gets all installed modules.
PS C:\> Get-InstalledModule
Version Name Repository Description
------- ---- ---------- -----------
1.3 FileSplitter PSGallery provides PowerShell commands to split a file in ...
PS C:\>
How to Get Specific Versions of a Module
If you want to get specific versions of a module between the specified minimum and maximum versions, run the following command.
Get-InstalledModule -Name "FileSplitter" -MinimumVersion 1.0 -MaximumVersion 1.5
In the above PowerShell script, the Get-InstalledModule command uses the Name parameter to specify the name of the module as “FileSplitter“, MinimumVersion as 1.0, and MaximumVersion as 1.5.
It checks the PowerShell module version between specified versions and gets the module installed on the computer.
PS C:\> Get-InstalledModule -Name "FileSplitter" -MinimumVersion 1.0 -MaximumVersion 1.5
Version Name Repository Description
------- ---- ---------- -----------
1.3 FileSplitter PSGallery provides PowerShell commands to split a file in ...
PS C:\>
Cool Tip: How to get module path in PowerShell!
Conclusion
I hope the above article, how to use the Get-InstalledModule cmdlet to list installed modules on the computer.
You can use MinimumVersion and MaximumVersion parameters to check the PowerShell module version between the specified version and get the module.
You can find more topics about Active Directory tools and PowerShell basics on the ActiveDirectoryTools home page.
Recommended Articles
How to get the IIS version in PowerShell!