3

With admin rights and Powershell, I want to kill a nasty process.

PS D:\_prj> Get-Process someapp* | Stop-Process -Force (or without -Force).

That works in 99% of cases. Unfortunately, sometimes it don't. After executing the command I check whether the process is killed and get:

PS D:\_prj> Get-Process someapp*

Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id  SI ProcessName
-------  ------    -----      ----- -----   ------     --  -- -----------
    425      46    47052      60364   189     0,88  17316   2 someappHandler

Why? What's the PS solution to such problem? It may be worth noting that killing it via Task Manager works just fine.

Leśny Rumcajs
  • 310
  • 3
  • 12

0 Answers0