^^^ Or, you could figure out whichever NETSH commands
you need to use, type them into Notepad, and save it on the desktop as a CMD file. For example:
netsh interface set interface name="Local Area Connection" admin=disabled
This would disable the LAN connection called "Local Area Connection". Change the bit between quotes to whatever the LAN connection name is. To enable the connection, just copy the above, changing the "disabled" to "enabled" and save as a CMD too.
You can use Netsh to do almost anything from the command-line, from switching from DHCP to static, changing the IP address, to resetting TCP/IP and winsock. And I'm sure it['s even easier in PowerShell, but I don't have the skills for that.