Using netsh Command-line to set IPV4 addresses and options

 

This is the netsh command I used that worked:

netsh int ip set address local static 10.80.10.35 255.255.255.0 10.80.10.1

(IP address of 10.80.10.35 with a Subnet Mask of 255.255.255.0 and a Default Gateway of 10.80.10.1)

If you want, you can set your DNS in a similar way:

netsh int ip set dns local static 10.80.10.10 primary