The “Hey, Scripting Guys!” blog has been retired. There are many useful posts in this blog, so we keep the blog here for historical reference. However, some information might be very outdated and many of the links might not work anymore.
New PowerShell content is being posted to the PowerShell Community blog where members of the community can create posts by submitting content in the GitHub repository.
Summary: Use a Windows PowerShell cmdlet to open the event log viewer.
How can I use a Windows PowerShell cmdlet to open the event log viewer?
Use the Show-EventLog cmdlet.
Summary: Learn how to use XML and Windows PowerShell to parse the Windows system event log for Windows updates.
Microsoft Scripting Guy, Ed Wilson, is here. Sometimes I come up with a solution, and then I go looking for a problem to fix. Not often, but sometimes. This is usually the result of playing around with Windows PowerShell on the weekend, a...
Summary: Easily see the newest log entry by using Windows PowerShell.
How can I use Windows PowerShell to quickly check the most recent entry from a classic event log, such as the application, system, or security log?
Use the Get-EventLog cmdlet and specify the –newest paramet...
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Get-WinEvent in Windows PowerShell with FilterXML to parse event logs.
Microsoft Scripting Guy, Ed Wilson, is here. Today I am sipping a cup of English Breakfast tea. In my pot, I decided to add a bit of spearmint, peppermint, licorice root, lemon peel, orange peel, and lime peel to the...
Summary: Learn to find permissible event log keywords values with Windows PowerShell.
How can I use Windows PowerShell to find examples of keywords when I use a FilterHashTable value with Get-WinEvent?
Create an instance of the StandardEventKeywords enumeration, and then look a...