Just sharing important commands you will need for Configuring Server 2012 Core.
These all commands you should keep handy as we all windows admins luv GUI 🙂
- timedate.cpl –> For setting up date/time on the core machine.
- Set-DisplayResolution <width> <Height>
As name suggests, this is used for setting up Display resolution
If you want to change the default name of the machine than this will be very handy.
shutdown -r for restarting the computer & shutdown /s for power-down.
- netsh (for adding ip address)
netsh interface ipv4 show interface
Now we know that we need to set ip address for idx 12
below commands are useful for setting ip address, setting DNS or just using dhcp
netsh interface ipv4 set address name=”12” source=static address=10.10.10.100 mask=255.255.255.0
netsh interface ipv4 set address name=”12” source=dhcp
netsh interface ipv4 add dnsserver name=”12” address=10.10.10.10
As ip interfaces are now set so lets join the machine to the domain with add-computer
I have activated the windows during install but if you want to activate it afterwards than these commands can be used.
slmgr.vbs -ipk <pkey>
- sconfig.cmd (Remember this & other are not required)
Most important command as it includes everything that you require for the configuration of the server. You just need to select option 🙂
- cscript scregedit.wsf
This is used for configuring windows updates (wsus settings)
- Get-windowsfeature | install- windowsfeature | uninstall-windowsfeature
These commands are power-shell commands & are used for checking, installing or uninstalling windows server Roles/ Features.
For administrating server core remotely , for example connecting thru server manager from other machine.
These all commands/ methods that are mentioned above will help you in setting up & configuring core installation.