FYI

The purpose of this script is to refresh the settings based by ip. IE changing the parent server depending upon where (my highly mobile) work force is located. This saves bandwitdh and time zone headaches by having the client update from the closest possible parent.

Stopping and starting is needed so that NAV process this update.

BTW - I stripped my posted script so that it only had 1 IP address, my real script has 10 subnets and 6 parents to look for.