Scripting Blog

A place to learn about PowerShell and share stories of automation

Use a PowerShell Module to Work with WMI Permanent Events

 Summary: Learn how to use a Windows PowerShell module to work with WMI permanent events. Hey, Scripting Guy! Your posts this week on permanent event consumers have been really cool. I am wondering, if they are so useful, why there is not a Windows PowerShell cmdlet to allow one to interact with them?-- ST Hello ST, Microsoft ...

Use PowerShell to Monitor and Respond to Events on Your Server

Summary: Learn how to use Windows PowerShell to monitor and to respond to events on your computer or server without the need to run a script.   Hey, Scripting Guy! I am interested in learning how to use Windows PowerShell to create a Windows Management Instrumentation (WMI) permanent event consumer. Basically, what I need is a script ...

Learn How to Use VBScript to Create Permanent WMI Events

   Summary: Learn how to create permanent WMI events using VBScript in this foundational blog post that provides a basis for a monitoring solution.   Hey, Scripting Guy! Over the years, I have read many Hey Scripting Guy! Blog posts. They are usually humorous, easy to read, and possess a certain amount of value. One area you ...

Weekend Scripter: Tea Time!

  Microsoft Scripting Guy Ed Wilson here. It has been a great week with some excellent guest bloggers. It is not that I took the week off; rather, I have spent the week working on some special projects I wanted to complete. The great thing about working with guest bloggers is that I get to tap into world-class writers who are experts in ...

Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (9/24/10)

In this post:    Shuffling Values Around in an Active Directory Organizational Unit   Hey, Scripting Guy! I need to shuffle values around in one organizational unit (OU) in Active Directory. I have a bunch of users with a field populated (in my case, “Office”), and that value needs to be moved to ...