Tuncay Sahin

ICT Engineer | Docent ICT & Trainer

This topic provides the information needed to install server roles and/or features. It assumes that you already have installed the server in Server Core mode and configured basic settings, such as IP Addressing and computername. You can install many roles and features on a server core server and administer them remotely.

After the Server Core installation is complete and the server is configured, you can install one or more server roles. The Server Core installation of Windows Server 2012 supports the following server roles and features:

Roles supported:

Features supported:

  • Active Directory Certificate Services
  • Active Directory Domain Services
  • DHCP Server
  • DNS Server
  • File Services
  • Active Directory Lightweight Directory Services
  • Hyper-V
  • Print and Document Services
  • Streaming Media Services
  • Web Server
  • Windows Server Update Server
  • Active Directory Rights Management Server
  • Routing and Remote Access Server
  • Microsoft .NET Framework 3.5 & 4.5
  • Windows PowerShell
  • Background Intelligent Transfer Service
  • BitLocker Drive Encryption & Network Unlock
  • BranchCache
  • Data Center Bridging
  • Enhanced Storage
  • Failover Clustering
  • Multipath I/O
  • Network Load Balancing
  • Peer Name Resolution Protocol
  • Quality Windows Audio Video Experience
  • Remote Differential Compression
  • Simple TCP/IP Services
  • RPC over HTTP Proxy
  • SMTP Server
  • SNMP Service
  • Telnet client & server
  • TFTP client
  • Windows Internal Database
  • Windows PowerShell Web Access
  • Windows Process Activation Service
  • Windows Standards-based Storage Management
  • WinRM IIS extension
  • WINS server

 

 

Installing and uninstalling server roles and features by PowerShell cmdlets

Task PowerShell cmdlet
To see a list of the roles and features that are available or   currently installed.

Get-WindowsFeature

To install a server role or feature on Server 2012

Install-WindowsFeature <featurename>[,<featurename>]

To install a server role or feature on Server 2008

Add-WindowsFeaturename <featurename>

To uninstall a server role or feature on Server 2012

Uninstall-WindowsFeature <featurename>

To uninstall a server role or feature on Server 2008

Remove-WindowsFeature <featurename>

install or uninstall any dependent features

Appending the –WhatIf parameter to either Install-WindowsFeature   <featurename> or Uninstall-WindowsFeature <featurename>

 

Binary files

When you uninstall a role or feature, the binary files for it remain on the disk. This allows you to add the role or feature later without having to access an installation source .

To completely remove a on demand role or feature

Uninstall-WindowsFeature <featurename> –Remove

To completely remove all on demand roles or features (hardening!)

Get-WindowsFeature | ?{$_.installstate -eq “Available”} |   remove-windowsfeature –remove

 

To install a role or feature without local binary files

get the right image index from the source file on the installation   dvd

Get-windowsimage –imagepath <pathtowim>install.wim

The –Source option specifies a path to a WIM image and the index   number of the image.

Install-WindowsFeature <featurename> -Source wim:<path>:<index>,

 

Using the Add Roles Wizard remotely

You can also simplified add/remove roles and feature by graphically tools, such as the Add Roles wizard in Server Manager. Server Manager provides a single source for managing a server’s identity and system information, displaying server status, identifying problems with server role configuration, and managing all roles installed on the server. You can use Server Manager form a client PC by install Remote Server Administration Tools.

Meer informatie

Voor meer informatie of voor een persoonlijk adviesgesprek kunt u altijd vrijblijvend contact met mij opnemen.

E-Mail

info@tuncaysahin.nl