Scripting Blog [archived]

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

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

Export Performance Counters with PowerShell to Ease Tuning

Summary: Learn how to use Windows PowerShell to export performance counter sets to simplify analysis and tuning. (image) Hey, Scripting Guy! I think that using Windows PowerShell to parse performance counter stuff is pretty cool. However, as much as I am a command line person, there are times when I need to be able to use the GUI. For example...