Command to change windows DNS server
netsh interface ipv4 set dns name="Ethernet" source=static address=1.1.1.1
Copy Command