2021-01-02

Change IP / DNS / Gateway from command prompt

To change the IP:

netsh int ip set address "local area connection" static 192.168.0.1

To change the DNS:

netsh int ip set dns "local area connection" static 192.168.0.255 primary

No comments:

Post a Comment