mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-12 07:44:25 -06:00
Merge pull request #11932 from microsoft/user/cfetoiu/get_udp_listeners
Collect Get-NetUdpEndpoint in networking script to help with SharedAccess DNS proxy failing to start issues
This commit is contained in:
commit
c5ffe6e409
@ -113,6 +113,12 @@ function Collect-WindowsNetworkState {
|
|||||||
Get-VMSwitch | select Name,Id,SwitchType | Out-File -FilePath "$folder/Get-VMSwitch_$ReproStep.log" -Append
|
Get-VMSwitch | select Name,Id,SwitchType | Out-File -FilePath "$folder/Get-VMSwitch_$ReproStep.log" -Append
|
||||||
}
|
}
|
||||||
catch {}
|
catch {}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Get-NetUdpEndpoint | Out-File -FilePath "$folder/Get-NetUdpEndpoint_$ReproStep.log" -Append
|
||||||
|
}
|
||||||
|
catch {}
|
||||||
}
|
}
|
||||||
|
|
||||||
$folder = "WslNetworkingLogs-" + (Get-Date -Format "yyyy-MM-dd_HH-mm-ss")
|
$folder = "WslNetworkingLogs-" + (Get-Date -Format "yyyy-MM-dd_HH-mm-ss")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user