Install-WindowsFeature 无效命名空间问题


PowerShell交流中心分类: QuestionsInstall-WindowsFeature 无效命名空间问题
-1
justice asked 5 年 ago

PS C:\Users\administrator.WXXC> Install-WindowsFeature RSAT-ADDS
Success Restart Needed Exit Code Feature Result
——- ————– ——— ————–
False Maybe Failed {}
Install-WindowsFeature : 无效命名空间
所在位置 行:1 字符: 1
+ Install-WindowsFeature RSAT-ADDS
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : DeviceError: (Microsoft.Manag…rDetailsHandle):CimException) [Install-WindowsFeature],E
xception
+ FullyQualifiedErrorId : UnSupportedTargetDevice,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureComman
d

justice replied 5 年 ago

exchange 2013安装程序报错
Error:
The following error was generated when “$error.Clear();
if($RoleInstallWindowsComponents)
{
# Install any Windows Roles or Features required for the Management Tools role
& $RoleBinPath\InstallWindowsComponent.ps1 -ShortNameForRole “AdminTools” -ADToolsNeeded $RoleADToolsNeeded
}
” was run: “无效命名空间 “.