Sometimes you just need to add a single additional IP to a windows machine. While you can do that via the gui, it’s cumbersome and slow. A quick little bit of command line magic will do the job just fine.
To add a primary IP, do this
netsh int ip set address “Interface Name” static IP NETMASK GATEWAY METRIC
For a secondary address or virtual IP
netsh int ip add address “Interface Name” IP NETMASK
To add a DNS server
netsh int ip add dns “Interface Name” IP
And you’re done!