Thursday, March 27, 2008 12:58 PM
BrianM
Server Core Commands
It's been quite awhile since my last Server Core blog so I feel obligated to share some of the other findings that I have. I've been asked several times how to configure TCP/IP settings on a Server Core server.
To configure the IP address we will have to remember (or learn) Netsh.
Configure a Static IP Address on Server Core:
Netsh int ipv4 set address “Local Area Connection” static 10.1.1.10 255.255.255.0 10.1.1.1
Netsh int ipv4 set dnsserver “Local Area Connection” static 10.1.1.5 primary
Netsh int ipv4 set winsserver “Local Area Connection” static 10.1.1.6 primary
Configure a Dynamic (DHCP) IP Address on Server Core:
Netsh int ipv4 set address “Local Area Connection” source=dhcp
Change the name of the network interface on Server Core:
Netsh int set interface name = “Local Area Connection” newname = “Primary Network”
And another little handy command that I thought you might like.
List of installed patches:
wmic qfe list
Hope that helps those that are in need.
Filed under: Windows Server 2008, Server Core