Link to home
Start Free TrialLog in
Avatar of TexasPlowBoy
TexasPlowBoy

asked on

VBScript to configure DHCP Options

I am trying to find a method to programatically add dhcp options to existing scopes on Windows Server 2003.  I have the ACSII or Binary to add but can't figure out a way to script the addition of the options to the server.

Please assist.
Avatar of jhulbe
jhulbe
Flag of United States of America image

netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1

ran from command line will set IP address and mask information.

or something like

netsh interface ip set address "Local Area Connection" dhcp

look more into netsh command and configure it to your liking

ASKER CERTIFIED SOLUTION
Avatar of Krzysztof Pytko
Krzysztof Pytko
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial