Configure Windows Server 2012 Core

Hi Readers,

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.

Capture

  • Set-DisplayResolution <width> <Height>

As name suggests, this is used for setting up Display resolution

Capture

  • Rename-Computer 

If you want to change the default name of the machine than this will  be very handy.

Capture

  • shutdown

shutdown -r  for restarting the computer & shutdown /s for power-down.

Capture

  • netsh (for adding ip address)

netsh interface ipv4 show interface

Capture

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

Capture

netsh interface ipv4 set address name=”12” source=dhcp

netsh interface ipv4 add dnsserver name=”12” address=10.10.10.10

  • ADD-Computer

As ip interfaces are now set so lets join the machine to the domain with add-computer

Capture

  • slmgr.vbs

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>

slmgr.vbs -ato

  • 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 🙂

Capture

  • 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.

  • Enable-PsRemoting

For  administrating server core remotely , for example connecting thru server manager from other machine.

enableremoting

These all commands/ methods that are mentioned above will help you in setting up & configuring core installation.

Regards

Sukhija Vikas

http://msexchange

 

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s