How to Convert windows server 2012 GUI Mode to Core mode

Get-WindowsFeature Server-Gui-Shell | Uninstall-WindowsFeature –Restart



How to Convert windows server 2012 Core mode to GUI Mode

Get-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell | Install-WindowsFeature –restart