Retrieving dll path of a running process


I have an application that uses a .dll file, there are 2 different locations for the file and I need to find out which one it is using on over 200 machines.

I am very new to power shell and have tried Get-Process method but it does not supply the information I need, is there another way to retrieve this in power shell?


This article gives one approach using a WMI provider call. You could use the provided Function at the end. If your just looking for something quick and dirty this would work.

Digging in a little more, This might be what you want:

Replace with your process name


Retrieving dll path of a running process by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply