Change DNS using bat-file

E.g. change to UnblockUS DNS servers:

netsh interface ipv4 add dnsserver “Wireless Network Connection” address=208.122.23.22 index=1
netsh interface ipv4 add dnsserver “Wireless Network Connection” address=208.122.23.23 index=2

Where¬†“Wireless Network Connection” is the name of the active network adapter:

Network_1