Change an IP address, Gateway and DNS via CMD

You may also like...

2 Responses

  1. tim says:

    How would you use this command with a file holding a list of server names and IP addresses.. I want to build a script that checks the file for the current server name and find the new IP address. I can put on several machines and change the IP addresses of the specified machines. they are moving from one subnet to another.

  2. Jo says:

    It doesnt work mfs , i accidently found it its ipconfig /dg to writ the default gateway address

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.