#!/bin/sh # Check if running environment is WSL if [ -f /proc/sys/fs/binfmt_misc/WSLInterop ]; then bridges=$(VBoxManage.exe list bridgedifs | grep ^Name: -A 11) echo $bridges fi