No DHCP? No Problem
In this scenario, you have a computer with static IP Address assignments that you wish to maintain during a REFRESH.
There’s a Task Sequence step called Capture Network Settings. This runs the script ZTINICConfig.wsf that can capture network settings and store them in the Variables.dat file.
There are 2 switches of use here in the ZTINICConfig.wsf script. (From the manual)
/ForceCapture – If there are any local networking adapters with static IP addresses saved, this script captures those settings and saves them to the local environment—for example, C:\MININT\SMSOSD\OSDLogs\Variables.dat. This script can be useful in capturing static IP settings for a large number of computers for automation.
/RestoreWithinWinPE – When specified, applies any saved static IP network settings to the local computer, when appropriate; used for internal processing only.
Use both switches to capture adapter settings in a refresh.