Scripting Blog

A place to learn about PowerShell and share stories of automation

Use PowerShell to Troubleshoot Defrag Issues

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to troubleshoot defrag issues in Windows 8.1. Microsoft Scripting Guy, Ed Wilson, is here. This week, I begin a week-long series about looking at the Windows event and diagnostic logs via Windows PowerShell. I have previously written about this, and you may ...

PowerTip: Discover All Event Logs on a Server

Summary: Discover all of the event logs on a server by using Windows PowerShell.  How can I discover the event logs that are available on my server?  There two ways to do this. If you want the classic-type event logs, use: Get-EventLog –List If you want to see all of the event logs, including the new style logs that were ...

Use PowerShell and a Filter Hash Table to Speed Boot Trace

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using a filter hash table with Windows PowerShell to speed up boot trace parsing.  Hey, Scripting Guy! I don’t get it. You wrote a script yesterday, and said that the performance was bad. You suggested that you could improve the performance, but then you did not do anything ...

Weekend Scripter: Use PowerShell to Get Boot-Up Trace Events

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to get boot-up trace events. Microsoft Scripting Guy, Ed Wilson, is here. This morning I am sipping the last of my English Breakfast tea with a little lemon grass and a crushed cinnamon stick. Not sure how I ran out of English Breakfast tea, but I did. Oh well. I...