Showing tag results for WMI

Aug 10, 2011
Post comments count0
Post likes count0

Use PowerShell and WMI to Terminate Multiple Processes

Doctor Scripto

Summary: Learn how to use Windows PowerShell and WMI to terminate multiple processes.   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 Stop-Process cmd...

Scripting Guy!Windows PowerShellscripting techniques
Aug 9, 2011
Post comments count0
Post likes count0

Use PowerShell to Convert SDDL to Binary Format

Doctor Scripto

Summary: Learn how to use Windows PowerShell to convert security descriptors to different formats.   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 utility wants a...

Scripting Guy!Windows PowerShellscripting techniques
Aug 8, 2011
Post comments count0
Post likes count0

Learn Four Ways to Kill a Process Using PowerShell and WMI

Doctor Scripto

Summary: Microsoft Scripting Guy Ed Wilson shows four ways to kill a process by using Windows PowerShell and WMI.   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   Hello ET, Microsoft Script...

Scripting Guy!Windows PowerShellscripting techniques
Jul 14, 2011
Post comments count0
Post likes count0

Automatically Enable and Disable Trace Logs Using PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to automatically enable and disable trace logs.   Hey, Scripting Guy! Your articles have been right on target—they hit me where I live. I am wondering if I could actually automate some of this? Suppose I am trying to install software using WMI, and I would like to see the log entries you talked about the o...

Scripting Guy!Windows PowerShellscripting techniques
Jul 12, 2011
Post comments count0
Post likes count0

Parse Windows Trace Logs by Using PowerShell

Doctor Scripto

Summary: Learn how to use Windows PowerShell to parse Windows trace logs.   Hey, Scripting Guy! Is it possible to filter the results from an ETW log? —DK   Hello DK, Microsoft Scripting Guy Ed Wilson here. Sure there is. In Saturday’s Weekend Scripter article, I talked about working with Event Tracing for Windows (ETW) logs. I...

Scripting Guy!Windows PowerShellscripting techniques