Example:
code:
$dns='10.10.0.2'
$wins='10.10.0.3'
$gateway='10.10.0.1'
$subnet='255.255.255.0'
$ipmask='10.10.0.0'
$ntdomain='NT-DOMAIN'
$company='COMPANY.COM'

$retcode=checknics($dns,$wins,$gateway,$subnet,$ipmask,$ntdomain,$company)

And include the CheckNICs() UDF and it's dependencies in the script as specified in the FAQ. Execute under an admin account.
_________________________
There are two types of vessels, submarines and targets.