Killing processes in windows via command line

For some reason I couldn’t login to RDP of a Virtuozzo CT/VE so I had to go in via the VZ hardware node.



Listed all the tasks.  It appears that EXCEL.EXE had 100s of processes running so I needed to kill them.  I tried:

 taskkill /IM EXCEL.EXE

But, it warned me that it needed to be forcefully terminated.

  taskkill /F /IM EXCEL.EXE

Did the trick.   I could have also killed individual processes with: