0 => "None", 1 => "Complete memory dump", 2 => "Kernel memory dump", 3 => "Small memory dump (Minidump)", 4 => "Automatic memory dump", _ => "Unknown" ;
public class DumpFileInfo
Finding minidump files in Windows 11 is the first step in diagnosing the dreaded Blue Screen of Death (BSOD). These small files act like a "black box" recorder, capturing critical data about your system’s state at the exact moment of a crash. Where to Find Minidump Files in Windows 11 how to find minidump files windows 11
Console.WriteLine($"File: dump.FileName"); Console.WriteLine($"Path: dump.FullPath"); Console.WriteLine($"Size: dump.SizeBytes / 1024 / 1024 MB"); Console.WriteLine($"Created: dump.CreatedTime"); Console.WriteLine($"Type: dump.DumpType"); Console.WriteLine("---");
✅
If the Minidump folder is missing or empty, your system might not be configured to save them. Use the following steps to enable this feature: Dump file location Windows 11 version 22H2 - Microsoft Q&A
To find minidump files using File Explorer: 0 => "None", 1 => "Complete memory dump",
foreach ($dump in $minidumps) $dumpInfo = [PSCustomObject]@ FileName = $dump.Name FullPath = $dump.FullName SizeMB = [math]::Round($dump.Length / 1MB, 2) CreatedDate = $dump.CreationTime ModifiedDate = $dump.LastWriteTime DumpType = "Minidump" CrashTime = (Get-Date $dump.CreationTime -Format "yyyy-MM-dd HH:mm:ss")