While labbing with Windows Server Core 2008 R2 I realized I needed to brush up on some basic command line synxtax for simple things that we may not use very often.

Change local computer name

netdom renamecomputer localhost /newname:new_computername

Shutdown and restart

shutdown -r -t 0 (r=restart, t= time)

Show Current Network Interfaces

netsh interface ipv4 show interfaces

Configure Static IP

netsh interface ipv4 set address name="” source=static address= mask= gateway=

Configure DNS Server

netsh interface ipv4 add dnsserver name="” address=index=1

Domain Controller Promotion

dcpromo /unattend:

This list came from working with Active Directory on Windows Server Core 2008 R2 while studying for the Microsoft 70-640 Active Directory exam. My next post will go into further detail about Server Core AD initial setup and configuration options.