Windows批处理查找并结束进程

Windows批处理查找并结束进程,查找进程名中包含Note的进程,并结束掉它

wmic Path win32_process Where "CommandLine Like '%%Note%%'" Call Terminate
pause