PowerTip: Find Path to PowerShell Module

The Scripting Guys

Dr 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

The Scripting Guys
Dr Scripto

Follow Dr Scripto   

No Comments.