https://rakhesh.com/windows/using-netsh-to-set-static-dhcp-addresses/
Using netsh to set Static/ DHCP addresses