Scripting Blog [archived]

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

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

Use PowerShell Cmdlet to Filter Event Log for Easy Parsing

  Summary: Learn how to use the Get-WinEvent Windows PowerShell cmdlet to filter the event log prior to parsing it. (image) Hey, Scripting Guy! I am confused. I have enjoyed using the Get-EventLog Windows PowerShell cmdlet. It is fast, and easy to use. However, I do not always like the way it seems to return all the records from a remote...

Hey, Scripting Guy! How Can I Check My Event Logs to See Why My Computer Isn’t Performing Well?

(image) Hey, Scripting Guy! I am trying to chase down a problem I have on my computer. Every so often, it just quits responding. I think it may be trying to talk to Elvis or commune with E.T. Perhaps if I point my finger and say, "E.T. gone home" in a raspy drone-like voice it would cease and desist all illogical activities and begin to ...