Scripting Blog [archived]

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

Parsing Event Log Messages—The Video

Summary: Ed Wilson, Microsoft Scripting Guy, presents a video about parsing Windows event log messages.Microsoft Scripting Guy, Ed Wilson, is here. Today I present a video where I talk about using a cmdlet to parse event log messages.     Note  For more information about this technique, see Easy Parsing of Messages with ...

Weekend Scripter: Parsing the DISM Log with PowerShell

Summary: Ed Wilson, Microsoft Scripting Guy, talks about parsing the DISM log with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. One of the things I like to do on weekends is mess around. So I was intrigued when I found a DISM command that would supposedly export file associations (see DISM Default Application Association ...

PowerTip: Get Latest Entry from Event Log with PowerShell

Summary: Use Windows PowerShell to get the latest entry from an event log. (image)  How can I use Windows PowerShell to see the most recent entry from the application log? (image)  Use the Get-EventLog cmdlet, specify the log name, and use the –Newest 1 parameter, for example: Get-EventLog application -...