Seems like accessing $it outside each is not possible now ()

This commit is contained in:
miheer vaidya
2021-12-02 10:49:24 -07:00
committed by GitHub
parent 79c7b20cfd
commit c00853a473

@ -19,7 +19,7 @@ Kill a process using the process id.
## Examples ## Examples
Kill the pid using the most memory Kill the pid using the most memory
```shell ```shell
> ps | sort-by mem | last | kill $it.pid > ps | sort-by mem | last | each { kill $it.pid }
``` ```
Force kill a given pid Force kill a given pid