PowerTip: Find Module Path with Windows PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to determine the location of a module.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find the location of a module that I am using from a vendor?

Hey, Scripting Guy! Answer Use the Path property of the module with Split-Path to show the parent:

$ModuleName=(Get-Module –module DeployImage)

$ModulePath=Split-Path $ModuleName


Discussion is closed.

Feedback usabilla icon