bsharath
asked on
Script that reserves ip's in the DHCOP server. Need a change to reseve in Excluded list ip's
Hi,
Script that reserves ip's in the DHCOP server. Need a change to reseve in Excluded list ip's
At present i run this code that reserves fine for ip's in the scope. I want for excluded ip's. Can this be changed to work on excluded ip's
for /f "tokens=1-4 delims=," %%i in (addresses.txt) do netsh Dhcp Server 129.110.105.25 scope 129.110.115.120 add reservedip %%i %%j %%k %%l
REgards
Sharath
Script that reserves ip's in the DHCOP server. Need a change to reseve in Excluded list ip's
At present i run this code that reserves fine for ip's in the scope. I want for excluded ip's. Can this be changed to work on excluded ip's
for /f "tokens=1-4 delims=," %%i in (addresses.txt) do netsh Dhcp Server 129.110.105.25 scope 129.110.115.120 add reservedip %%i %%j %%k %%l
REgards
Sharath
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
DHCP will not hand out the excluded IPs.
ASKER
Ok so this means that we cannot reserve the ip's that are excluded.
The script that you provided is to create a exclusion in the DHCP is that right.
The script that you provided is to create a exclusion in the DHCP is that right.
I would assume that would be the case but not too sure.
ASKER
Thanks for the help...
ASKER
Please have a look at my open posts i am sure you could help on many
Here is one that is killing me. I need to block my network ASAP as we have our systems affected with Virus
https://www.experts-exchange.com/questions/24177047/Find-just-the-share-names-that-has-Everyone-full-access-from-a-list-of-machines-provided.html?cid=239&anchorAnswerId=23736904#a23736904
Here is one that is killing me. I need to block my network ASAP as we have our systems affected with Virus
https://www.experts-exchange.com/questions/24177047/Find-just-the-share-names-that-has-Everyone-full-access-from-a-list-of-machines-provided.html?cid=239&anchorAnswerId=23736904#a23736904
ASKER
So i need to put the excluded ip range in the txt file and when run it will reserver the ip?