Your code is not quite right... you need to put the getipoptions inside the loop, otherwise you will always get the last result as your only result.

(all code below untested)
 Code:
for each $nc in Enumnetworkconnections(3,$remotepc) 
    $ConnectionName=split($nc,",")[0] 
    $MACAddress=split($nc,",")[1] 
    $AdapterName=split($nc,",")[2] 
    ? $ConnectionName
    ? $MacAddress
    ? $AdapterName
    ? "DHCPEnabled" + getipoptions("DHCPEnabled",$remotepc,$macaddress)
    ? "-------------"
next


To remove results you don't want.
 Code:
for each $nc in Enumnetworkconnections(3,$remotepc) 
    $ConnectionName=split($nc,",")[0] 
    $MACAddress=split($nc,",")[1] 
    $AdapterName=split($nc,",")[2] 
    if instr($connectionname,"1394") or inst($connectioname,"somedeviceyoudontwant")
      ;skipit
    else
      ;do your writeline
    endif
next


Or to be specific of the one you do want
 Code:
for each $nc in Enumnetworkconnections(3,$remotepc) 
    $ConnectionName=split($nc,",")[0] 
    $MACAddress=split($nc,",")[1] 
    $AdapterName=split($nc,",")[2] 
    if instr($connectionname,"Local Area Connection")
      ;do your writeline
    endif
next