Sunday, November 14, 2010

Powershell: get process ID by window name/title

Powershell is cool.

get-process | where {$_.mainwindowtitle -match "pattern"} | format-table id, name, mainwindowtitle -autosize

6 comments:

  1. best article to read awesome especially for Lower Back and Hip pain

    ReplyDelete