Set IP address on a Windows Server core installation

1. At a command prompt, type:

netsh interface ipv4 show interfaces

2. Verify that there is an interface list. At a command prompt, type

C:\netsh interface ipv4 set address name=<ID from interface list> source=static
address=<preferred IP address>
gateway=<gateway address> mask=<mask address>

3. Verify by typing ipconfig /all at a command prompt and checking that DHCP enabled is set to No.
Example command,

netsh interface ipv4 set address name=12 source=static address=
gateway= mask=

This also works on a Windows 8 install.