Dump dllhost.exe in collect-wsl-logs.ps1 (#12056)

Blue committed Sep 19, 2024 at 11:28 UTC 3fca568818c3bee97638ae3d2452ae234a50431e
1 file changed +1 -1
diagnostics/collect-wsl-logs.ps1
+1 -1
@@ -127,7 +127,7 @@ if ($Dump)
127 $dumpFolder = Join-Path (Resolve-Path "$folder") dumps
128 New-Item -ItemType "directory" -Path "$dumpFolder"
129
130 - $executables = "wsl", "wslservice", "wslhost", "msrdc"
130 + $executables = "wsl", "wslservice", "wslhost", "msrdc", "dllhost"
131 foreach($process in Get-Process | Where-Object { $executables -contains $_.ProcessName})
132 {
133 $dumpFile = "$dumpFolder/$($process.ProcessName).$($process.Id).dmp"