Scripting Blog [archived]

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

Use PowerShell to Create and to Use a New Event Log

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create and to use a new event log. Microsoft Scripting Guy, Ed Wilson, is here. Well, it’s the weekend, baby! At least for the Scripting Wife and me. You see, the Scripting Manager gave me today and Monday off as sort of “comp time” because ...

An Introduction to PowerShell Remoting: Part One

Summary: Guest blogger, Jason Hofferle, talks about the basics of Windows PowerShell remoting. Microsoft Scripting Guy, Ed Wilson, is here. This week I am in Seattle, Washington presenting at Microsoft TechReady 15. I have been talking to Jason for some time, and I thought that now would be a great chance to share some of his insights ...

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