Scripting Blog [archived]

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

How Can I Use the Out-GridView Cmdlet to Search Event Logs?

Summary: Learn how to use a simple Windows PowerShell cmdlet to search event logs for errors. (image)  Hey, Scripting Guy! I was at a recent SQL Saturday event, and there was a person there (unfortunately, I do not remember his name) who was talking about Windows PowerShell. In his talk, he showed something that was pretty cool. It seemed...

Use Custom Views from Windows Event Viewer in PowerShell

Summary: Learn how to use Event Viewer custom views in Windows PowerShell to parse event logs quickly.   (image) Hey, Scripting Guy! I love Windows 7. It absolutely rocks! One of the things I love about Windows 7, in addition to Windows PowerShell, is the new Event Viewer. I have created a custom view in my Event Viewer. I exported that ...

Learn How to Use PowerShell to Parse the Firewall Log

Summary: Microsoft Scripting Guy Ed Wilson shows how to use Windows PowerShell to parse the Windows Firewall log.   (image) Hey, Scripting Guy! I am wondering about the firewall log on my computer. I was in a hotel recently, and I noticed that the network adapter light kept flashing, but I was not like doing anything really. When I tried ...