|
Alright I kind of understand what you are saying. I was thinking of Using SMS to push out the Gateway changes. I created a Spread sheet with the following Header row Location Netbios Name Sites IP Address Subnet mask Default IP Gateway DHCP Enabled Configuration Needed T/F HSRP Changes Needed The list above is my header row. For example this would be found in this spreadsheet
222 Broadway ELVIS1 C08 172.22.13.1 255.255.255.0 172.22.13.251 0 T T HSRP=172.22.13.252 As you can see I need to change the following info 172.22.13.251 to 172.22.13.252 on the machine listed above. I was thinking along the lines take the IP Address (172.22.13.1) and Subnet Mask (255.255.255.0) By looking at the subnet mask If SBMAsk= 255.255.255.0 then the $NewDgateway =$ip1.$IP2.$IP3.252 If SBMASK= 255.255.255.192 then do the following Break the Ipadrress down into the 4 octets look at the last octet and do some kind of math operation $IP4 <=62 $NewGateway= $IP1.$IP2.$IP3.60 If 63=< $IP4 <=126 then NewDgateway= $IP1.$IP2.$IP3.124 And so on. Would that make any sense to do ? After which I can writeval the New gateway into the registry. Just an idea tell me if that is the wrong approach. I only have Windows NT 4 and Windows 2000 machines and very few Windows XP machines at the moment.
|