Install Hyper-V with Windows Server 2012 Core

Here are the basic steps to install the Hyper-V role on a Server Core Installation of Windows Server 2012 using Windows PowerShell:

  1. At the Server Core installation console, a command line window opens after login (Figure 1).

1
Figure 1:
 Windows Server 2012 Server Core Installation Command Line

  1. As shown in Figure 2, type PowerShell in the command window to access the Windows PowerShell interface.


2
Figure 2:
 Windows Server 2012 Command Windows – Starting PowerShell

  1. Type Get-WindowsFeature at the PowerShell Command Line (Figure 3) to view the server roles and features that are installed or available on the server.

3
Figure 3:
 Windows Server 2012 – Get-WindowsFeature PowerShell Cmdlet

  1. Type Install-WindowsFeature –Name Hyper-V – Restart to install the Hyper-V role and automatically restart the server after the installation of the role. (Figure 4).

4
Figure 4: Windows Server 2012 – Install-WindowsFeature PowerShell Cmdlet

  1. After the server restarts, start PowerShell from the command window, and type Get-WindowsFeature | where {$_.Installed –eq $True} to verify the successful installation of the Hyper-V role (Figure 5).

5
Figure 5:
 Windows Server 2012 Hyper-V Role Verification in Windows PowerShell

The command output is formatted to display only a list of the roles and features that are installed on the server, rather than the entire list of roles and features available. Using Windows PowerShell, roles and features can be installed individually as shown in this example, or you can install multiple roles and features using a single cmdlet. For example, you can install the Hyper-V and Web Server roles using the following syntax: Install-WindowsFeature –Name Hyper-V, Web-Server – Restart.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s