Fining process id if multiple processes have the same name
At times, there are multiple processes with the same name, and only one of them needs to be killed.
stop-process gimp*
for example would kill every process that starts with
gimp
.
So, in order to find the «correct» process id, the following
pipeline might help.
PS:\> get-process gimp* | select id, starttime
This pipeline prints a process id along with the time when a process has started which sometimes is an indication which process should be stopped.