Summary: Easily find the path to a Windows PowerShell module.
How can I easily find the path to a Windows PowerShell module?
Use the Get-Module cmdlet and a wildcard character for the name, and select the Path property.
The following script finds the PowerShellISEModule (an optional module in the Script Repository):
(Get-Module -ListAvailable PowerShellIse*).path
You can shorten the command:
(gmo -l PowerShellIse*).path
0 comments