Skip to content

Commit

Permalink
Capture the state of wslservice in collect-wsl-logs.ps1 (microsoft#11338
Browse files Browse the repository at this point in the history
)
  • Loading branch information
OneBlue authored Mar 22, 2024
1 parent 02d29c0 commit 1ebe3e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions diagnostics/collect-wsl-logs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ reg.exe export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2 $fo
reg.exe export "HKEY_CLASSES_ROOT\CLSID\{e66b0f30-e7b4-4f8c-acfd-d100c46c6278}" $folder/wslsupport-proxy.txt 2>&1 | Out-Null
reg.exe export "HKEY_CLASSES_ROOT\CLSID\{a9b7a1b9-0671-405c-95f1-e0612cb4ce7e}" $folder/wslsupport-impl.txt 2>&1 | Out-Null

Get-Service wslservice -ErrorAction Ignore | Format-list * -Force > $folder/wslservice.txt

$wslconfig = "$env:USERPROFILE/.wslconfig"
if (Test-Path $wslconfig)
{
Expand Down

0 comments on commit 1ebe3e3

Please sign in to comment.