Aaaaah... to come full circle. Microsoft's OSs started at the command line, went GUI, and you can now do more from then command-line than ever before. Between PowerShell, the Windows Command Reference, and now the Netsh Technical Reference, you can script until you are blue in the face.
The Windows Server® 2008 Network Shell (Netsh) Technical Reference provides a comprehensive command reference for networking technologies such as Dynamic Host Configuration Protocol (DHCP), Network Policy Server (NPS), Network Access Protection (NAP), and Routing and Remote Access Services (RRAS), among many other technologies for which there are netsh commands. Netsh commands offer an alternative to configuring network technologies using the Windows interface. You can run netsh commands in batch files and scripts, and you can run them from the netsh prompt by manually typing commands. You can use netsh commands to configure both local and remote computers.