Installing GUI Feature on Windows Server 2012 Core
Only for Windows Server 2012 Core
- Confirm windows edition is Standard or Datacenter.
PS C:\> Get-ComputerInfo | Select-Object WindowsProductName, WindowsEditionId
WindowsProductName WindowsEditionId ------------------ ---------------- Windows Server 2012 Datacenter ServerDatacenter
|
- Install GUI feature.
PS C:\> Install-WindowsFeature -Name Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart
PS C:\> DISM /Get-WimInfo /WimFile:D:\sources\install.wim PS C:\> Install-WindowsFeature -Name Server-Gui-Mgmt-Infra, Server-Gui-Shell -Source wim:D:\sources\install.wim:4 -Restart
|
- Uninstall GUI feature.
PS C:\> Uninstall-WindowsFeature -Name Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart PS C:\> Get-WindowsFeature –Name *Server-Gui* | ft name, installed
|