Mainos / Advertisement:

Server Core

Kohteesta Taisto
Versio hetkellä 12. helmikuuta 2015 kello 08.12 – tehnyt Frans (keskustelu | muokkaukset) (Ak: Uusi sivu: With the Get-Help command you can get help for features, roles and commands.)
Siirry navigaatioon Siirry hakuun
Muut kielet:
English • ‎suomi

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

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:

  1. Domain or workgroup
  2. Changing the computer name
  3. Making users Administrators
  4. Configuring remote access
  5. Windows Update settings
  6. Download and install updates
  7. Enable remote desktop
  8. Network configuration
  9. Date and time settings
  10. GEIP
  11. Windows activation
  12. Log out
  13. Restart
  14. Turn off
  15. 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.

  1. IP-address, subnet mask and default gateway settings.
  2. DNS server settings.
  3. Clear DNS server settings.
  4. Return to menu.

Help

With the Get-Help command you can get help for features, roles and commands.

Get-Help XXX
Get-Help sconfig

Get-Command komennolla saat komentolistauksia

Get-Command *XXX*
Get-Command *-ad* - Active Directory komennot listana

Roolit ja ominaisuudet

Roolien ja ominaisuuksien asentaminen

Listaa roolit ja ominaisuudet:

 Get-WindowsFeature

Asenna rooli tai ominaisuus:

Install-WindowsFeature rooli/ominaisuus

Asenna useita rooleja ja ominaisuuksia samaanaikaisesti:

 Install-WindowsFeature
 rooli/asennus1
 rooli/asennus2

Tyhjän rivin jälkeen paina ENTER, niin kone alkaa asentamaan rooleja ja / tai ominaisuuksia.

Lista rooleista

Active Directory Domain Services

DNS Server

Mainos / Advertisement: