Category: Windows

How to capture and debug .NET application crash dumps in Windows

It is important for software engineers to understand how to analyze process dumps so that they can determine why their application is crashing or behaving unexpectedly. However, it can be hard to know where to start with the process. This post aims to be a starting point for a very common situation: debugging a crash … Continue reading How to capture and debug .NET application crash dumps in Windows

How to troubleshoot PowerShell scripts not running under a scheduled task

Situation: you have written a PowerShell script that runs fine when you launch it from PowerShell directly, but fails to start or run when you try to plug it into a schedule task. What went wrong? This post is an outline of common reasons that your script fails to run in a scheduled task. Always … Continue reading How to troubleshoot PowerShell scripts not running under a scheduled task

Windows event log custom source tips

Good-old Windows event logs are a great location to write events for automation tools and scripts. It may not be flashy, but it provides key functionality for service engineering teams: It's easy to register custom sources for your applications. It has configurable log size and rollover options so you don't need to worry about handling … Continue reading Windows event log custom source tips