Netsh – Change LAN config in Windows Command Line

netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1
netsh interface ip show config
netsh interface ip set dns "Local Area Connection" static 192.168.0.200

Link