Converting Windows Server 2012 With A GUI to Server Core 2012

You have installed full Windows Server 2012 with GUI and now you want to convert the Windows Server Core. You can do this by using PowerShell and here is the command:

Uninstall-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell -Restart

All done !