Comments
 
posted on March 27th 2020, at 11:52
by lunarg
On a Windows DHCP Server, if you have a lot of DHCP reservations in a particular scope on a server, and you have the need to migrate them to another scope (on the same or another server), you can do so quickly through netsh (a "legacy" command-line tool to perform network configuration on a Windows system).

Fire up a command prompt (or Powershell). First dump, the current scope configuration to a text file:

netsh dhcp server <serverIPAddress> scope <scopeAddress> dump > dump.txt

Note that if you run the command on the server where the originating scope is located, you don't need to specify the IP address/hostname of the server.

Open the text file with your favour  ...
Add a new comment
 
Your name:
Your e-mail:
Your comment:
 
Basic BBcode is supported.
Captcha:
Type the letters and numbers as shown.
/get/captcha/1714105374
Not readable? Get another.
 
 
 
 
« April 2024»
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
282930    
 
Links
 
Quote
« When a bird does poo poo in your eye, be happy elephants don't fly. »