【问题标题】:Powershell - install-windowsfeature - namePowershell - 安装-windowsfeature - 名称
【发布时间】:2018-04-02 23:20:32
【问题描述】:

在powershell中输入以下内容:

安装-windowsfeature -name

如何获取要安装的可用功能列表?

【问题讨论】:

  • 这些命令在什么系统上可用?我有 PowerShell 5.1,Get-Command *windows* 没有显示 PowerShell 命令。

标签: powershell


【解决方案1】:

为此,您需要使用另一个 cmdlet。 Get-WindowsFeature

获取有关可用于安装和安装在指定服务器上的 Windows Server 角色、角色服务和功能的信息。

【讨论】:

  • 这解决了我的问题。这样做,我现在看到了 Windows 功能列表,并且能够运行 install-windowsfeature -name NPAS
猜你喜欢
  • 2014-01-08
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-01-23
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多