windows-server-2008-r2 – 如何在Windows Server 2008 R2服务器核心安装上安装Windows PowerShell?

前端之家收集整理的这篇文章主要介绍了windows-server-2008-r2 – 如何在Windows Server 2008 R2服务器核心安装上安装Windows PowerShell?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我找到了指向
ocsetup MicrosoftWindowsPowerShell

要么

start ocsetup MicrosoftWindowsPowerShell

但它们没有效果.

http://support.microsoft.com/kb/976736

标题:如何在运行Windows Server 2008 R2 Core的计算机上安装Windows PowerShell.

来自文章

Method 1

  1. Run SCONFIG.
  2. Select option 4 (Configure Remote Management).
  3. Select option 2 (Enable Windows PowerShell).
  4. Click OK.

Method 2

Install the following features:

  • NetFx2-ServerCore
  • NetFx3-ServerCore
  • NetFx2-ServerCore-WOW64
  • NetFx3-ServerCore-WOW64
  • MicrosoftWindowsPowerShell
  • MicrosoftWindowsPowerShell-WOW64

The following are examples of the commands that install these features:

  • DISM.exe /online /enable-feature /featurename:NetFx2-ServerCore
  • DISM.exe /online /enable-feature /featurename:NetFx3-ServerCore
  • DISM.exe /online /enable-feature /featurename:NetFx2-ServerCore-WOW64
  • DISM.exe /online /enable-feature /featurename:NetFx3-ServerCore-WOW64
  • DISM.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell
  • DISM.exe /online /enable-feature /featurename:MicrosoftWindowsPowerShell-WOW64

Note Because Windows PowerShell is built on Microsoft .NET Framework,Microsoft .Net Framework must be installed correctly first for a successful Windows PowerShell installation.

原文链接:https://www.f2er.com/windows/366130.html

猜你在找的Windows相关文章