mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 17:47:59 -06:00
collect get-vmswitch
This commit is contained in:
parent
d94e7d6f2d
commit
0ab4bfe5b6
@ -107,6 +107,12 @@ function Collect-WindowsNetworkState {
|
|||||||
& vfpctrl.exe /list-vmswitch-port 2>&1 > $folder/vfpctrl_list_vmswitch_port_"$ReproStep".log
|
& vfpctrl.exe /list-vmswitch-port 2>&1 > $folder/vfpctrl_list_vmswitch_port_"$ReproStep".log
|
||||||
}
|
}
|
||||||
catch {}
|
catch {}
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Get-VMSwitch | select Name,Id,SwitchType | Out-File -FilePath "$folder/Get-VMSwitch_$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