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

This commit is contained in:
Blue 2024-09-19 11:28:32 -07:00 committed by GitHub
parent f32da000c4
commit 3fca568818
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,7 +127,7 @@ if ($Dump)
$dumpFolder = Join-Path (Resolve-Path "$folder") dumps
New-Item -ItemType "directory" -Path "$dumpFolder"
$executables = "wsl", "wslservice", "wslhost", "msrdc"
$executables = "wsl", "wslservice", "wslhost", "msrdc", "dllhost"
foreach($process in Get-Process | Where-Object { $executables -contains $_.ProcessName})
{
$dumpFile = "$dumpFolder/$($process.ProcessName).$($process.Id).dmp"