DHCP server offers flexible means top control the way it provides IP addresses and other information. All the major options may be changed on the fly using tools such as netsh utility.
DHCP scope is a pool (set) of IP addresses that a DHCP server may lease when requested. Those can be created from command-line, thus offering an automated means of manipulation scope
For example, the following command
netsh dhcp server add scope 10.50.12.0 255.255.0.0 "Building One"
will create a scope with network ID 10.50.12.0 and IP mask 255.255.0.0.
The subsequent command
netsh dhcp server scope 10.50.212.0 add iprange 10.50.12.50 10.50.12.100
wil create a range of dynamic IP addresses from the specified scope.
To exclude certain address from that dynamic pool, use command like
netsh dhcp server scope 10.50.12.0 add excluderange 10.50.12.75 10.50.12.80
the above command will excldue the six addresses from dynamical assignement.
You can create static address assignment for a specific MAC address using command like
netsh dhcp server scope 10.50.12.0 add reservedip 10.50.12.99 6E7A55109F0B
Similarly, the above records may be deleted with 'del' subcommand.