Sign up to access this lesson
Click here to sign up and get access to this lesson!

Saving Progress...
In this lesson, you are going to learn how to install Windows Server Roles and Features on Windows Server Core Edition.
I am logged into the server and the first thing we are going to do here is make sure this one is active.
Type powershell in the Command Prompt window. This will launch the PowerShell command line.

Now, when we want to install Windows Roles and Features through PowerShell, generally you will not know all the commands, but there’s a couple of things you should remember.
The first command I want you to memorize is Get-Command and press Enter. That is going to list all the available PowerShell commands that we have.
There’s a lot of commands we can use.

We can type Get-Command | Select-String “feature”. This will list all the same commands as before but will select and display the ones that have the word “feature”.
We can see a couple of commands like Add-WindowsFeature, Uninstall-WindowsFeature, etc. Now, Install-WindowsFeature has replaced Add-WindowsFeature.

Now, the next thing I want you to memorize is how to use the commands that we find. We can type Get-Help Install-WindowsFeature and press Enter.
This gives us the basic syntax of the command.

Now, one thing to point out is that we are not getting the entire help file, to do that we need to type the command Update-Help.
Now, let’s type Get-WindowsFeature and press Enter. This is going to return all the information about what server roles and features are installed. You will also notice that all of these are combined into one result.

When we are going to install a new Server Role or Feature we use the value under the Name column.
In the same list after .NET Framework 3.5 Features, we have all the features and before that, we have the Roles. Keep in mind that we have them grouped together in the same list.

If we want to install the DNS Server Role we type the command Install-WindowsFeature DNS and we want to include all the subfeatures and management tools and those are not included by default. We add to the previous command -IncludeAllSubFeature -IncludeAllManagementTools and press Enter.
The full command is: Install-WindowsFeature DNS -IncludeAllSubFeature -IncludeAllManagementTools
The installation process will begin and you will see a banner indicating the progress.

When the installation is complete we will see a confirmation message like the following:

Now, type again Get-WindowsFeature and press Enter.
We can see that DNS Server has an X and that means that it is now installed.

Now, let’s talk about how you uninstall a Server Role or Feature.
We can type Get-Command | Select-String feature and press Enter so we can search for the uninstall command.
We can see the Uninstall-WindowsFeature.

Now type Get-Help Uninstall-WindowsFeature and press Enter.

We see the syntax help for the Uninstall-WindowsFeature command.
Type Uninstall-WindowsFeature -Name DNS -IncludeManagementTools and press Enter.

Generally uninstalling a Role or Feature might require a reboot.
The process completes and we have the confirmation message.

If we type Get-WindowsFeature and press Enter we see DNS Server is no longer checked.

To restart the computer just type Restart-Computer and press Enter.

That’s it for Installing Windows Server Roles and Features on Server Core Edition.
Sign up to access the rest of this lesson
You must either log in or sign up to access this lesson.
CURRICULUM
Course Introduction • 1min
0 / 1 lessons complete
Downloading and Installing Windows Server • 1hr 11min
0 / 9 lessons complete
Section Overview
Video | 2 min
How to Download Windows Server
Video | 3 min
Understanding the different versions of Windows Server
Video | 5 min
Installing Windows Server
Video | 6 min
Configuring Windows Server Desktop Experience
Free lesson
Video | 10 min
Configure Windows Server Core
Free lesson
Video | 5 min
Windows Server Basics Quiz
Quiz | 10 Questions
Lab: Install Windows Server 2016 Desktop Experience
Lab | 15 min
Lab: Install Windows Server 2016 (Server Core)
Lab | 15 min
Roles and Features • 1hr 18min
0 / 6 lessons complete
Section Overview
Video | 1 min
Installing Roles and Features on Windows Server Desktop Experience
Video | 7 min
Installing Roles and Features on Windows Server Core
Video | 5 min
Windows Server Roles and Features Quiz
Quiz | 5 Questions
Lab: Installing Windows Server Roles and Features on Desktop Experience
Lab | 30 min
Lab: Installing Windows Server Roles and Features on Server Core
Lab | 30 min
Upgrading and Migrating Windows Server • 1hr 0min
0 / 6 lessons complete
Section Overview
Text | 1 min
Windows Server Upgrade Paths and Pre-upgrade Checklist
Video | 5 min
Upgrading Windows Server Desktop Experience from 2016 to 2019
Video | 10 min
About Server Migrations
Video | 4 min
Upgrading and Migrating Windows Server Quiz
Quiz | 10 Questions
Lab: Upgrading Windows Server Desktop Experience from 2016 to 2019
Lab | 30 min
Windows Server Storage Solutions • 1hr 11min
0 / 8 lessons complete
Section Overview
Video | 1 min
Disk Initialization and Partition Styles
Video | 8 min
Volumes and Partitions
Video | 5 min
Windows File Systems
Video | 5 min
Storage Allocation Units
Video | 4 min
Initializing a Disk and Creating a Volume
Video | 8 min
Windows Server Storage Solutions Quiz
Quiz | 10 Questions
Lab: Initialize a disk and configure a volume
Lab | 30 min
Windows Server Backup • 47min
0 / 7 lessons complete
Section Overview
Text | 1 min
What is Windows Server Backup
Video | 1 min
Installing The Windows Server Backup Feature
Video | 1 min
Creating a One-Time Backup
Video | 5 min
Creating Scheduled Backups
Video | 4 min
Windows Server Backup Quiz
Quiz | 5 Questions
Lab: Create and manage Windows Server Backups
Lab | 30 min
Course Conclusion • 1min
0 / 1 lessons complete