Hi,
Can any one tell me what is wrong with this line??? After it executes, I check my WINS setting and fine the address, but after the address there is 2-3 line of garbage. I also ge the same results with bothe lines.
$result=writevalue('$HKLM\$SCCSS\NetBT\Parameters\Interfaces\Tcpip_$NicID','NameServerList','10.240.2.34','REG_MULTI_SZ')
$result=writevalue('$HKLM\$SCCSS\Tcpip\Parameters\Interfaces\$NicID2','SubnetMask','255.255.255.0','REG_MULTI_SZ')

Thanks