Forum Discussion
TrapTheOnly
Nov 30, 2021Copper Contributor
Process Execution Path
Good day. I would like to know about all possible ways to obtain the process execution path in powershell. I am aware of Get-Process *process name* | Select-Object Path, but looking for another, as t...
AndySvints
Dec 06, 2021Iron Contributor
Hello TrapTheOnly,
Did you look into WMI Win32_Process class and it's property ExecutablePath?
Get-CimInstance Win32_Process
Hope that helps.