anchor.diff:  :: So, continue even if this command fails - and always include its output.
   echo (Re-)enabling TAP network device...
   netsh interface set interface "%DEVICE_NAME%" admin=enabled
  +:: The powershell command is used to ensure the adapter is enabled if netsh fails and leaves it in
  +:: a disabled state. While no such failure has yet been observed, this command would correct it and
  +:: should behave idempotently otherwise.
  +powershell "Enable-NetAdapter -Name \"%DEVICE_NAME%\"" <nul
   
   :: Give the device an IP address.
   :: 10.0.85.x is a guess which we hope will work for most users (Docker for
  
positive.code: call :wait_for_device "%TAP_NAME%"
  
  :: Attempt to rename the device even if waiting timed out.
  netsh interface set interface name= "%TAP_NAME%" newname= "%DEVICE_NAME%"
  if %errorlevel% neq 0 (
    echo Could not rename TAP device. >&2
    exit /b %ERROR_TAP_RENAME%
  )
  
  :: Wait for the new name to propagate to netsh.
  
negative.code: :: limitations under the License.
  
  @echo off
  :: See https://ss64.com/nt/delayedexpansion.html
  setlocal enabledelayedexpansion
  
  set DEVICE_NAME=outline-tap0
  set DEVICE_HWID=tap0901
  