cmd script to update dhcp settings

I was going through old files and came across two dos batch files I used to use to run on and off DHCP during testing. I thought I would share those:


Turn on static IP:

netsh interface ip set dns "Wireless" static primary
ipconfig /flushdns

Turn on dynamic IP via DHCP

netsh interface ip set dns "Wireless" dhcp primary
ipconfig /flushdns



Free business joomla templates