Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Use PowerShell and WMI to Terminate Multiple Processes

Summary: Learn how to use Windows PowerShell and WMI to terminate multiple processes.   (image) Hey, Scripting Guy! I am wondering about how to use WMI to work with multiple instances of a class. For example, if I have 50 processes running, and I want to kill all of them at the same time, I can easily do this using the Get-Process and ...

Learn Four Ways to Kill a Process Using PowerShell and WMI

Summary: Microsoft Scripting Guy Ed Wilson shows four ways to kill a process by using Windows PowerShell and WMI.   (image) Hey, Scripting Guy! I have been playing around with your scripts that explore WMI methods and WMI writable properties, but I am having problems calling the WMI methods. Can you help me? —ET   (image) Hello...