PowerTip: Find Path to PowerShell Module

Summary: Easily find the path to a Windows PowerShell module.

Hey, Scripting Guy! Question How can I easily find the location where a Windows PowerShell module is installed?

Hey, Scripting Guy! Answer Use the Path property from the PSModuleInfo object that returns from the Get-Module cmdlet, for example:

(Get-Module Microsoft.PowerShell.Utility).path

Comments (0)

Skip to main content