The last part I’m going to cover in this series is how to install the Hyper-V role on server core system. This can be done a few different ways so I’ll show how to do it using powershell and how it can be done using Server Manager from a remote system.
This time from Server Manager we need to add the remote server core system by going to “Manage” –> “Add Server”.
Since the system was added to AD we can just click the “Find Now” button and a list of AD systems will appear in the list. Select the system then click the arrow in the middle so it shows up in the right hand pane. You could also type the system name or ip address to find the server you want. Now click OK.
Now select the system and right click, then click “Add Roles and Features”.
You should be familiar with this wizard now. Click Next till you get to the “Server Roles” screen.
Select the Hyper-V role then click the “Add Features” button when you see the popup.
Now you can take all the defaults to Install the Hyper-V role and features from the GUI. It’s all pretty basic from the GUI so let’s take a look at how we can do this from powershell now.
First we will want to do is list out the Hyper-V roles and features that are available by using “Get-WindowsFeatures”. This will also show whether the feature is installed or not.
PS C:UsersAdministrator>Get-WindowsFeatures hyper-v*
Using the “*” wildcard will bring back all roles and features that have hyper-v in the name. What comes back will look similar to what we saw in the GUI.
If the role or feature is not installed already we need to use the “Install-WindowsFeature” command using the “Name” from the previous output.
PS C:UsersAdministrator>Install-WindowsFeature hyper-v
PS C:UsersAdministrator>Install-WindowsFeature hyper-v-powershell
You should also install the hyper-v powershell module as well.
And that basically it. You can now open the Hyper-V manager then add the hyper-v hosts. This sets up the basics for being able to configure virtual machines using hyper-v. There’s much more to hyper-v than this but I just wanted to show the basics then build on it in other posts. To see this process in action check out the video below.[vsw id=”aJqxbaKTrio” source=”youtube” width=”500″ height=”344″ autoplay=”no”]