Windows Server 2012 guide to add GUI when only core is installed
Get-ExecutionPolicy
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Get-WindowsImage -ImagePath <path to wim>\install.wim
Ger instance number of the image we want to get files7parts from…
Example: Get-WindowsImage -ImagePath D:\sources\install.Wim
Install-WindowsFeature Server-GUI-Mgmt-Infra,Server-GUI-Shell -Restart -Source wim:D:\sources\install.wim:2
inställs GUI on a server with just console…
REMOVE GUI
DONOTE ! Demands a couple of restarts
Uninstall-WindowsFeature Server-Gui-Shell -Restart
Uninstall-WindowsFeature Server-Gui-Shell -Remove -Restart

