ServerManager模块在Windows 7上可用吗?
ServerManager模块在Windows 7旗舰版上可用吗? 我想(但我不知道,因为我从来没有看过输出之前)PS脚本,我以前曾经工作过,但在IIS7安装一些问题后,它停止工作。 以下脚本 import-module servermanager 失败,错误 Import-Module : The specified module 'servermanager' was not loaded because no valid module file was found in any module directory. At line:1 char:14 + import-module <<<< servermanager + CategoryInfo : ResourceUnavailable: (servermanager:String) [Import-Module], FileNotFoundException + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand 我发现build议运行 Dism.exe /Online /Enable-Feature /FeatureName:ServerManager-PSH-Cmdlets 在我的机器上,但它也失败,错误Feature name ServerManager-PSH-Cmdlets is unknown.