Forrest logo
back to the wmic tool

wmic:tldr:9758b

wmic: Kill a process.
$ wmic process ${pid} delete
try on your machine

The command "wmic process ${pid} delete" is used to terminate a process with a specific process ID (pid) using the Windows Management Instrumentation Command-line (WMIC) tool.

Here's a breakdown of the command:

  • "wmic": It is the command-line interface for the Windows Management Instrumentation (WMI) functionality.
  • "process": It is a WMI class that represents a running process on a Windows system.
  • "${pid}": It is a placeholder representing the specific process ID of the process you want to delete or terminate. You need to replace ${pid} with the actual process ID.
  • "delete": It is the action or method used to terminate or delete the process with the given process ID.

So, by executing this command and replacing ${pid} with the actual process ID, you will terminate or delete the specified process using WMIC.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the wmic tool