
Managing Windows DHCP reservations via command line
1 min read
DHCP reservations can be set either through the GUI or with the following command:
netsh dhcp
server <SERVERNAME>
scope <SCOPE-ID>
add reservedip <IP-Address> <MAC-Address> "<Reservation-Name>" "<Description>"
Example:
netsh dhcp
server \\SERVER
scope 192.168.100.0
add reservedip 192.168.100.15 001122AABBCC "Printer-1" "HP Laserjet"