【发布时间】:2019-03-06 06:54:50
【问题描述】:
我正在尝试禁用 Windows 10 上不必要的功能以优化操作系统性能。我想创建 Powershell DSC 配置,参考其中的 Windows 功能资源并禁用我想要的功能。
要提及功能名称,我必须运行 Get-WindowsFeature 命令并查看其中有哪些功能。但该命令在我的 powershell 中不可用。我做了一些研究,我知道 Get-WindowsFeature 只能工作在 Windows 服务器上。这是真的吗?
那么我必须运行什么命令才能获取 Windows 10 上的功能列表?
【问题讨论】:
标签: powershell dsc