Archive for March 8th, 2008

Windows Server 2008 Webcasts

windows-server-2008_1

With the official launch of 2008, Microsoft has also started a set webcasts in their "24 Hours of Windows Server 2008".  The series contains 24 sessions covering all aspects of Windows Server 2008.  You can check out and download the first session here.

 

Windows Server 2008 Core Commands

So you installed Server 2008 Core And here’s what you’ve got:

core

Well now what?  To start, check out the commands below:

Show NICs
netsh interface ipv4 show interfaces

Show NIC Configuration
netsh interface ipv4 show config

Configure Static IP
netsh interface ipv4 set address name=”2” source=static address=xxx.xxx.xxx.xxx mask=xxx.xxx.xxx.xxx gateway xxx.xxx.xxx.xxx

Add Primary DNS
netsh interface ipv4 add dnsserver name=”2” address=xxx.xxx.xxx.xxx index=1

Add Secondary DNS
netsh interface ipv4 add dnsserver name=”2” address=xxx.xxx.xxx.xxx index=2

Rename server
netdom renamecomputer oldname /NewName:newname

Add to Domain
netdom join servername /domain:domainname /userd:domain\username
/passwordd:*

Activate the Server
cscript slmgr.vbs –ato

Enable Remote Desktop for Administration
cscript scregedit.wsf /AR 0

Allow Remote Admin through Firewall
netsh advfirewall Firewall set rule group=”Remote Administration” new enable=yes

Restart server
shutdown /r t 0

Disable Interface
netsh interface set interface “Local Area Connection 2” disabled
Delete DNS entries
netsh interface delete dnsserver name=”2” address=all