进入到ServerCore的命令行界面,依次输入:

Powershell

Install-WindowsFeature Server-GUI-Shell, Server-GUI-Mgmt-Infra 

Shutdown -r -t 0