Teşekkürler gereken Script için örnek:


# Create a CSV file with no header. The four columns should include only the following...
scope subnet,ip.addr reservation,mac address (no separator characters),name

For example, if you wanted to reserve 1.2.3.4/24 for a client named workstation1, with a mac.addr of 00-11-22-33-44-55, your file would look like this...

1.2.3.0,1.2.3.4,001122334455,workstation1

# The following command line will do the trick. If using Vista or 2008, run this from an Administrative cmd prompt.

for /f "tokens=1-4 delims=," %G IN (list.txt) do netsh dhcp server \\w.x.y.z scope %G add reservedip %H %I %J
Birde mac = ip listesi almak lazım tabi : Advanced LAN Scanner rahatça hal eder.

:R
Ben henüz denemedim Script i doctor_jivago verdi sağolsun