Update Kill-Java.ps1

More lines converted to PoSH. Untested.