TaskKill#

Terminates a specified process.

Required Parameters#


Paramater

Description

Type

name

Specifies the name of the process to kill. Note that this should not include the file extension .exe. This supports a wildcard (*) on either side of the string, or both sides.

string

Optional Parameters#


Paramater

Description

Type

Default

pathContains

Specifies path of the process must contain the provided string. This can be useful in the case of ambiguous process names, such as setup.exe.

string

None