Scripting Blog [archived]

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

Configure a Network Adapter to Wake a Computer Via PowerShell

Summary: Learn how to use Windows PowerShell to configure a remote computer's network adapter to wake the computer.   (image) Hey, Scripting Guy! At work, we have been trying to get our automation solution put into place. One problem is that on many of the computers, the network adapter is not configured to allow it to wake up the machine...

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...