From b4f670be4ec20ba2fbbb3934372bfcec338b6a0b Mon Sep 17 00:00:00 2001 From: Keith Horton Date: Fri, 29 Mar 2024 18:30:50 -0700 Subject: [PATCH] Retreiving more information to debug vswitch-related issues --- diagnostics/collect-networking-logs.ps1 | 13 +++++++++++++ diagnostics/wsl_networking.wprp | 2 ++ 2 files changed, 15 insertions(+) diff --git a/diagnostics/collect-networking-logs.ps1 b/diagnostics/collect-networking-logs.ps1 index ba529346..af84a810 100644 --- a/diagnostics/collect-networking-logs.ps1 +++ b/diagnostics/collect-networking-logs.ps1 @@ -255,6 +255,19 @@ try } catch {} +# Collect the setup and NetSetup log files +$netSetupPath = "$env:WINDIR/logs/netsetup" +if (Test-Path $netSetupPath) +{ + Copy-Item $netSetupPath $folder +} + +$setupApiPath = "$env:WINDIR/inf/setupapi.dev.log" +if (Test-Path $setupApiPath) +{ + Copy-Item $setupApiPath $folder +} + Remove-Item $logProfile Remove-Item $networkingBashScript diff --git a/diagnostics/wsl_networking.wprp b/diagnostics/wsl_networking.wprp index a5029fc6..684cdeb3 100644 --- a/diagnostics/wsl_networking.wprp +++ b/diagnostics/wsl_networking.wprp @@ -203,6 +203,7 @@ + @@ -395,6 +396,7 @@ +