add sleep to improve output

This commit is contained in:
Philip Henning 2023-03-21 20:52:44 +01:00
parent fa4a927b5f
commit 74c02c7c30

View file

@ -36,6 +36,7 @@ Set-NetIPInterface -ifAlias "vEthernet (WSL)" -Forwarding Enabled
EOF EOF
powershell.exe "${WINHOME}\enablewslhypervforwarding.ps1" powershell.exe "${WINHOME}\enablewslhypervforwarding.ps1"
sleep 3
powershell.exe "Get-NetIPInterface | select ifIndex,InterfaceAlias,AddressFamily,ConnectionState,Forwarding | Sort-Object -Property IfIndex | Format-Table" powershell.exe "Get-NetIPInterface | select ifIndex,InterfaceAlias,AddressFamily,ConnectionState,Forwarding | Sort-Object -Property IfIndex | Format-Table"