An example using the NicInfo UDF. You need to include or call the NicInfo UDF in your script. Each UDF has one or more examples in the commented lines above the actual UDF. This way you can always see how to use the UDF.

UDF Library » NICInfo() Return info about all NICs

 Code:
Break on

$Array = NicInfo($COMPUTER)
If UBound($Array) < 0
	?UBound($array)
	@SERROR ?
Else
	UBound($Array) + 1 ' NICs found.' ?
	For $X = 0 to UBound($Array)
		For $Y = 0 to UBound($Array[$X])
			$y '. ' $Array[$X][$Y] ?
		Next
	Next
EndIf
Sleep 5


Edited by Mart (2007-06-05 11:48 AM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.