PowerShell/Docs/list-modules.md

34 lines
1015 B
Markdown
Raw Normal View History

2021-11-08 21:36:42 +01:00
## list-modules.ps1 - Lists all PowerShell modules
This script lists all installed PowerShell modules.
## Parameters
```powershell
/home/markus/Repos/PowerShell/Scripts/list-modules.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./list-modules
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer...}
Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable...}
```
## Notes
Author: Markus Fleschutz · License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of list-modules.ps1*