Terminate the assigned task:
utilization
Termination by process ID:
utilization
Stop-Process
command 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 isnotepad
Then the order will be:Stop-Process -Name notepad