Command Line Tips, Windows Server 2008 Server Core
![]() |
To set a static IP Address: Netsh interface ipv4 set address name="
To join Server Core to a domain: Netdom join
To restart the server: Shutdown /r /t 0
To activate the server: Slmgr.vbs -ato
To activate the server by phone, using a KMS Server, or remotely:
Cscript windowsSystem32slmgr.vbs
To rename the server: Netdom renamecomputer
To see the list of available server roles: OCLIST
To setup a role on the server: OCSETUP
Note: OCLIST and OCSETUP are both case sensitive.
To install a Server Role: Start /w ocsetup ServerRoleName
To uninstall a Server Role: Start /w ossetup ServerRoleName /uninstall
Note: You need to know the only role name. The OCsetup command will do the rest.


Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.