PowerTip: Find Module Path with Windows PowerShell

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

Comments (1)

  1. Maksim Kirshin says:

    May be like this (Get-Module DeployImage).Path

Skip to main content