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

Use PowerShell to Convert SDDL to Binary Format

Summary: Learn how to use Windows PowerShell to convert security descriptors to different formats.   (image) Hey, Scripting Guy! I was reading through a listing of WMI methods recently, and I ran across a WMI class that looks interesting—Win32_SecurityDescriptorHelper. I think it will help me, because it seems like every security ...

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

Mark Schill Discusses PowerShell User Groups

Summary: Guest Blogger Mark Schill discusses PowerShellGroup.Org and starting a user group.   Microsoft Scripting Guy Ed Wilson here. Our guest blogger today is Mark Schill. Mark is an IT veteran who for 13 years has specialized in Windows Server and Citrix technologies. Mark started scripting with a Y2K project that required the creation...