commands detail - k
kill
The equivalent of bash’s kill is:
1. stop-process
A typical usage in Powershell might be:
1. # find the process
2. get-process | select id, ProcessName | where {$_.processname -like 'iex*'}
4. # kill the process
5. stop-process 5240
There is a built in alias kill which translates to stop-process
1. get-alias k*
3. CommandType Name
4. ----------- ----
5. Alias kill -> Stop-Process
