PowerTip: Find Path to PowerShell Module

Doctor Scripto

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


Discussion is closed.

Feedback usabilla icon