Matthias
Thu Jul 19 04:38:24 CDT 2007
Lee wrote:
> Hi,
>
> Does anyone know of a way to revoke DHCP address lease by hostname using a
> script? I'm not too techie and dont know where to start.
>
> all help and pointers appreciated.
>
There is an in depth article on technet from Peter Constantini:
"Automating TCP/IP Networking on Clients" :
<
http://www.microsoft.com/technet/scriptcenter/topics/networking/default.mspx>
Part 4 has several scripts, these you might be interrested in:
Listing 19 Dhcpsettings.vbs
Listing 20 Dhcp-enable.vbs
Listing 21 Dhcp-releaselease.vbs
Listing 22 Dhcp-renewlease.vbs
HTH
--
Greetings
Matthias