.files/dotfiles/local/bin/wslshowhypervforwarding

7 lines
226 B
Bash
Executable file

#!/usr/bin/env bash
#
# {{@@ header() @@}}
#
powershell.exe -ExecutionPolicy Bypass "Get-NetIPInterface | select ifIndex,InterfaceAlias,AddressFamily,ConnectionState,Forwarding | Sort-Object -Property IfIndex | Format-Table"