Get-Module
The Get-Module
command is a powerful tool in Microsoft's PowerShell command-line environment. It allows users to view and manage modules, which are collections of commands and functionalities, in PowerShell. When executed, this command retrieves a list of all currently loaded modules in the session. It displays useful information like the module name, version, and associated DLL files. The command can be extended with additional parameters to filter the results based on specific criteria, such as module name or version. Furthermore, Get-Module
provides capabilities to import and remove modules using other commands like Import-Module
and Remove-Module
. This command is essential for managing and leveraging the extensive capabilities of PowerShell modules.
List of commands for Get-Module:
-
where-object:tldr:a6647 where-object: Use multiple conditions.$ Get-Module -ListAvailable | Where-Object { $_.Name -NotLike "Microsoft*" -And $_.Name -NotLike "PS*" }try on your machineexplain this command