Hi All,
I am a complete n00b to kixtart scripting.
I am not sure where to ask this question or if it is at all possible!!
This is what I have at the moment.

Dim $defaultgw
$defaultgw = EnumIPInfo($NIC,3)
If $defaultgw == '192.168.1.1'
"Your Default Gateway is: " + EnumIPInfo($NIC,3)
USE K: '\\servername\servershare'
else if $defaultgw == '192.168.2.1'
USE L: '\\servername\servershare'

Now the problem I have now is I would like kix to install a printer on the detected network subnet.
This would involve creating a new TCP/IP printer port and then installing the drivers.
eg if 192.168.1.1 was detected it would install 192.168.1.2

Has anyone got any ideas on how to do this?
The script would be rolled out to around 400 desktops and 350 laptops if it is possible!!!

Thanks for your help


Edited by rhunton (2007-12-08 02:43 PM)