Description:
Useful when we want to terminate processes during uninstall. Sometimes when processes are still running during uninstall it may cause the uninstall to fail or not remove all files. This script is an example of how to kill one or many processes.
Source:
NA
Script:
Using Windows Management Instrumentation:
Or using Windows Script Host: