Scripting Blog

A place to learn about PowerShell and share stories of automation

Use PowerShell to Find Writable WMI Properties

Summary: Learn how to use Windows PowerShell to find WMI classes that allow you to change property values.   Hey Scripting Guy! I recently saw a Windows PowerShell script that looked like it actually changed the value of a property. I know that Windows PowerShell methods require you to put things in parentheses, and this script did not ...

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

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

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

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