1.核心转图形,默认打开的cmd界面上输入PowerShell切换到PowerShell命令行。

2.输入get-windowsfeature server 看看需要安装的有那些,或者输入get-windowsfeature server-G* 

3.install-windowsfeature 查询出来的结果

然后就等