Using wntipcfg.exe in batch mode, I have scripted NCName.bat to return the Network Connections names for your network adapters, like Local Area Connection or JSIINC.

The syntax for using NCName.bat is:

For /f "Tokens=*" %%a in ('<b>ncname</b>') do (
 set name=%%a
 ...
 ...
)
NCName.bat contains:
@echo off
setlocal
set wrk="%TEMP%\WNTIPCFG_%RANDOM%.TMP"
wntipcfg /ALL /BATCH %wrk%
set key=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\\{4D36E972-E325-11CE-BFC1-08002BE10318\}
for /f "Tokens=1-3 Delims=: " %%u in ('type %wrk%^|find "Ethernet"^|find "adapter"') do (
 for /f "Tokens=1,2*" %%a in ('REG QUERY "%key%\%%w\Connection" /V Name^|find "REG_SZ"') do (
  @echo %%c
 )
)
del /q %wrk%
endlocal