netsh interface show interfaces
Record the index number of the interface you want to work with. In this case, let's say it is 3.
netsh interface ipv4 set address name=3 source=static address=10.10.1.10 mask=255.255.0.0
To add an address for your DNS server:
netsh interface ipv4 set dnsservers name=3 source=static address=10.10.1.1 primary.
The above example assumes that you set your network interface card to an IP address of 10.10.1.10 and then set interface to use the address of a DNS server at 10.10.1.1