Change from Static to DCHP
Mario Uribe
How can I change all network cards in a system to revert back to DHCP setting for IP/DNS. With PDQ?
Thank You
0
Comments
netsh is your friend... you can find some more info here
Just create a batch and deploy it where needed. Something like:
netsh interface ipv4 set address name="Local Area Connection" source=dhcp
netsh interface ipv4 set dnsservers name="Local Area Connection" source=dhcp
@echo It may take a few moments for changes to take effect. You may close this window or
@pause
you just have to have the correct name of the network adapter.