title: Getting a specific process id from a powershell output
body: <p>Hi I'm new to powershell scripting and I would like to retrieve a specific process id based on the file's hash. However I can only get either a table with the hash value or a table with the id,process name and path</p>
  
  <pre><code>$ps = Get-Process | Select-Object -Property Id,ProcessName,Path
  
  $hashlist = Get-FileHash(Get-Process|Select-Object -ExpandProperty Path) -Algorithm MD5
  </code></pre>
  
  <p>Is it possible for me to merge the two tables together so that I can get a view of Id,ProcessName and Hash using the path to link them together?</p>