Server Core
Windows Server 2012 R2 Server Core is the command line version of Windows Server. It is not recommended to use this is you are a beginner.
In our instructions we mostly use Powershell commands.
Powershell is started with the command:
powershell
Sisällysluettelo
Basic settings
Server Core has a simple command by the name:
sconfig
In sconfig you can define the following settings by giving a number in the menu and pressing ENTER:
- Domain or workgroup
- Changing the computer name
- Making users Administrators
- Configuring remote access
- Windows Update settings
- Download and install updates
- Enable remote desktop
- Network configuration
- Date and time settings
- GEIP
- Windows activation
- Log out
- Restart
- Turn off
- Leave sconfig
You can always get back to the command line window using CTRL + ALT + DEL and executing (File -> Run) cmd and into powershell by executing powershell.
Keyboard settings
Open location settings and define them all.
intl.cpl
Restart
Open CTRL + ALT + DEL after login and change the keyboard settings in the bottom right corner.
Date and Time settings
Open
timedate.cpl
Network settings
You can see your computer's IP configuration in the command prompt using:
ipconfig /all
Powershell with the command:
Get-NetIPAddress
Changing IP-address
IP-addresses are simple to change from sconfig.
- IP-address, subnet mask and default gateway settings.
- DNS server settings.
- Clear DNS server settings.
- Return to menu.
Help
With the Get-Help command you can get help for features, roles and commands.
Get-Help XXX
Get-Help sconfig
With the Get-Command command you can get command listings
Get-Command *XXX*
Get-Command *-ad* - Active Directory commands in a list
Roles and features
Installing roles and features
List roles and features:
Get-WindowsFeature
Install a role or feature:
Install-WindowsFeature role/feature
Install multiple roles and features simultaneously:
Install-WindowsFeature
rooli/asennus1
rooli/asennus2
Tyhjän rivin jälkeen paina ENTER, niin kone alkaa asentamaan rooleja ja / tai ominaisuuksia.