automatic DNS script enable

BML

Senior member
Jun 1, 2001
443
0
0
I found a scipt to change all of my static ip clients to DHCP
Now i need a script to change all my static dns clients to pull from dhcp.
I any ideas I have looked everywhere
 

skyking

Lifer
Nov 21, 2001
22,786
5,941
146
Sh = new ActiveXObject("WScript.Shell");



Sh.run("ipconfig /release");

Sh.run("ipconfig /renew");



WScript.Echo("IP address has been released and renewed.");
That is the guts of a little desktop script for release/renew.
 

BML

Senior member
Jun 1, 2001
443
0
0
Im not sure what to do with that.
Maybe if you did it in vbscript i could understand it better.
 

skyking

Lifer
Nov 21, 2001
22,786
5,941
146
shoot me an email, and I will send along the whole thing with an explanation of what we use it for. Address is in profile.