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
2. As shown in below image, type PowerShell in the command window to access the Windows PowerShell
interface.
3. Type
Get-WindowsFeature at the PowerShell Command Line (as shown below) to view the server
roles and features that are installed or available on the server.
Type Install-WindowsFeature –Name Hyper-V – Restart to install the
Hyper-V role and automatically restart the server after the installation of the
role.
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
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.
No comments:
Post a Comment