在服务器内核中,在重新启动powershell之后突然没有安装,我该如何重新安装它?
我还没有设置远程管理,所以我不能用它来重新安装它。
“‘powershell”不被识别为内部或外部命令、可操作的程序或批处理文件。
发布于 2012-09-22 23:25:04
使用(DISM.exe)工具启用PowerShell:
dism.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShellRoot
...or (如果这还不够的话):
dism.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell /all
发布于 2013-05-21 19:54:00
dism.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShellRoot
dism.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell /all对重启说“是”。
powershell
Add-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra
Shutdown -r -t 0在服务器2012中,R2使用Shutdown /r /t 0
https://serverfault.com/questions/431010
复制相似问题