Location>code7788 >text

Windows Terminate Tasks Using the Command Line

Popularity:918 ℃/2024-08-05 09:05:18
Terminate the assigned task:
utilizationStop-Processcommand to terminate a task. You can specify tasks by process ID or process name. Example:
Termination by process ID:
Stop-Process -ID <Process ID>
Terminate by process name (this terminates all processes with the same name):
Stop-Process -Name <Process Name>
For example, if the process name isnotepadThen the order will be:
Stop-Process -Name notepad