Re: DHCP reservations
From: Eng (eugeniotalarico_at__REMOVE_THIS_vodafone.it)
Date: 02/24/05
- Next message: Eng: "Re: DHCP reservations"
- Previous message: Simon: "Force to delete files without the ownership"
- In reply to: Schroeder, AJ: "Re: DHCP reservations"
- Next in thread: Eng: "Re: DHCP reservations"
- Reply: Eng: "Re: DHCP reservations"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 24 Feb 2005 00:29:02 -0800
Hi look here:
http://cwashington.netreach.net/depo/view.asp?Index=983&ScriptType=command
see the below:
Author: Eugenio Talarico
mailto:eugeniotalarico@REMOVE_MEvodafone.it
Description:
Insert a list of reservation in a DHCP scope from an input file.
Script:
With this you can insert a list of a reservation in a dhcp scope.
The information are taken from the input.txt
for /f "tokens=1-4 delims=;" %%a in (input.txt) do (
netsh dhcp server DHCPSERVERIP scope SCOPEIP add reservedip %%a %%b %%c %%d
dhcp)
The scructure of the input.txt is:
IPADDRESS;MACADDRESS;MACHINENAME;DESCRIPTION
EXAMPLE:
172.17.169.100;018017462DD0;MYPCNAME;MYPCNAME
- Next message: Eng: "Re: DHCP reservations"
- Previous message: Simon: "Force to delete files without the ownership"
- In reply to: Schroeder, AJ: "Re: DHCP reservations"
- Next in thread: Eng: "Re: DHCP reservations"
- Reply: Eng: "Re: DHCP reservations"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|