Derrell brame
asked on
using powershell to change dhcp option 6 and 15 for all scopes
I have all my scopes in a text file by their IP address. i can use set-dhcpserverv4optionvalu e -computername "name" -scopeid "0.0.0.0" -optionid 6 -value 1.1.1.1
i have about 50 scopes i need to change and i want to point that scope to the text file to read and change all of the setting at once.
i have about 50 scopes i need to change and i want to point that scope to the text file to read and change all of the setting at once.
What's the format of the text file?
ASKER
.txt
Sorry I wasn't clear. What does the data look like in the text file?
ASKER
1.1.1.1
2.2.2.2
3.3.3.3
And so on
2.2.2.2
3.3.3.3
And so on
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
Glad to help. :)