Installing Windows Server 2012 R2 Core - Additional Tools and Scripts
Although Windows Server Core is a great way of ending up with a slim and trim diet server, it can be a little bit tricky when first getting started configuring it. During my experiments running Server Core VMs, I found that there were a few tools either built into Server Core or available separately that can help get over this configuration “hump.”
Built-in Tools
SConfig.exe
SConfig.exe
is a built-in command-line tool (with a simple command-line GUI) that allows you to perform some simple configuration tasks on your core installation.
Some of the functions include:
- Renaming the computer
- Joining a domain or workgroup
- Enabling remote management (Win-RM)
- Enabling remote desktop
- Installing Windows updates
- Configuring network settings
- Changing system date/time
- Shutting down/rebooting the server
Other Tools
When installing a new copy of one of the Windows Server Core versions, it’s quite useful to install several additional tools that will help manage the server from a command prompt and/or PowerShell console.
Corefig for Windows Server 2012 Core and Hyper-V Server 2012
Corefig allows you to configure some of the main settings of a Windows Server Core installation as well as installing updates and Windows features and roles.
Windows Update PowerShell Module
The Windows Update PowerShell module allows you to install Windows updates from a PowerShell command line by executing (after installing the module onto the server):
Get-WUInstall
Remote Server Administration Tools PowerShell Module
The Remote Server Administration Tools PowerShell module is available as an installable feature on Windows Server Core edition. It needs to be first installed by executing the following command at a PowerShell prompt:
Add-WindowsFeature -Name 'RSAT-AD-PowerShell' -IncludeAllSubFeature
PowerShell Community Extensions
The PowerShell Community Extensions project provides various useful PowerShell cmdlets. I always install this onto the server and copy the entire PSCX modules folder:
C:\Program Files (x86)\PowerShell Community Extensions\Pscx3\
…into the system modules folder:
C:\Program Files\WindowsPowerShell\Modules
This makes the PSCX module available via the Import-Module
command in PowerShell.