get udp endpoints
Catalin-Emil Fetoiu committed
Aug 16, 2024 at 16:35 UTC
e6ee234f1f71b7caa3cd43dcd209b7f237dfd7e6
1 file changed
+6
diagnostics/collect-networking-logs.ps1
+6
@@ -113,6 +113,12 @@ function Collect-WindowsNetworkState {
113
Get-VMSwitch | select Name,Id,SwitchType | Out-File -FilePath "$folder/Get-VMSwitch_$ReproStep.log" -Append
114
}
115
catch {}
116
+
117
+ try
118
+ {
119
+ Get-NetUdpEndpoint | Out-File -FilePath "$folder/Get-NetUdpEndpoint_$ReproStep.log" -Append
120
+ }
121
+ catch {}
122
}
123
124
$folder = "WslNetworkingLogs-" + (Get-Date -Format "yyyy-MM-dd_HH-mm-ss")