Terminate a process by its process id or name.
:: To terminate a process by its id:
taskkill /pid <process_id>
:: To terminate a process by its name:
taskkill /im <process_name>
:: To forcefully terminate a specified process:
taskkill /pid <process_id> /f
:: To terminate a process and its child processes:
taskkill /im <process_name> /t
:: To terminate a process on a remote machine:
taskkill /pid <process_id> /s <remote_name>
:: To display information about the usage of the command:
taskkill /?