打开cmd
c:\User\Administrator>powershell
c:\User\Administrator>Import-Module ServerManager
c:\User\Administrator>Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart
打开cmd
c:\User\Administrator>powershell
c:\User\Administrator>Import-Module ServerManager
c:\User\Administrator>Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart