Scripting Blog [archived]

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

Use PowerShell to Find WMI Classes that Contain Methods

Summary: Learn how to use Windows PowerShell to find WMI classes that contain usable methods for making configuration changes in Windows. (image)   Hey, Scripting Guy! I that know you spend a lot of time working with WMI. The one thing that I really do not like about WMI is that although it seems like there is a lot of information that ...

Discover How to Filter Remote Event Log Entries in Windows Vista

Summary: Learn how to use Windows PowerShell to filter remote event log entries in a Windows Vista computer. (image)   Hey, Scripting Guy! I thought your article yesterday was really great. It was interesting how a rather simple change could provide such a big gain in performance. The problem is that it does not appear to work on my ...

How to Improve the Performance of a PowerShell Event Log Query

Summary: Learn how to improve the performance of a Windows PowerShell event log query. (image) Hey, Scripting Guy! I am a beginner when it comes to using Windows PowerShell, and I was inspired by your article yesterday about using Windows PowerShell to Query All Event Logs for Recent Events, and today I attempted to write a command to get all...

Use PowerShell to Query All Event Logs for Recent Events

Summary: Learn how to use Windows PowerShell to easily query all event logs for recent events. It is raining outside in Seattle, Washington. I suppose that might not be news to most people, but then I am not from Seattle. In fact, the last time I was out here to teach a Windows PowerShell class to a group of Microsoft network engineers, it was...