I have to agree with Les. First, you'll need to find the unique identifier that trigegrs the gateway change. For example if the new gateway depends on the old gateway, then you create a look-up table (preferable the .INI file because it's the easiest to read in Kixtart) with OldGatewya=NewGateway. If it is based on NetworkID/SubnetMask like 123.123.123.0/255.255.255.0 or 123.123.123.0/19 then you would use this like NetworkID/SubnetMask=NewGateway.
Nevertheless, you will still need to go through the registry, identify the NIC inthe particular computer, change the gateway, adn force a reboot of said computer. This is all independent of whether you distribute the script via SMS, Task Scheduler, SneakerNet,...
[ 22 July 2002, 15:15: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.