> For the complete documentation index, see [llms.txt](https://devops-collective-inc.gitbook.io/a-unix-person-s-guide-to-powershell/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devops-collective-inc.gitbook.io/a-unix-person-s-guide-to-powershell/commands-detail-k.md).

# Command Detail - K

## kill

The equivalent of bash's `kill` is:

```
stop-process
```

A typical usage in Powershell might be:

```
# find the process
get-process | select id, ProcessName | where {$_.processname -like 'iex*'}

# kill the process
stop-process 5240
```

There is a built in alias `kill` which translates to stop-process

```
get-alias k*

CommandType     Name
-----------     ----
Alias           kill -> Stop-Process
```
