导入模块故障转移群集无法在PowerShell中加载

xmjla07d  于 2023-04-30  发布在  Shell
关注(0)|答案(1)|浏览(111)

我正在使用Windows 2019服务器,import-module failovercluster给出错误

import-module : the specified module 'failovercluster' was not loaded because no valid module file was found in any module directory

CategoryInfo: ResourceUnavailable: (failovercluster:string) [Import-Module], fileNotfoundException

FullyQualifiedErrorid: Modules_ModuleNotFound, Microsoft,Powershell,Commands.ImportModuleCommand

我已经尝试了powershell shell(x86)和非x86 shell。是否有方法导入failovercluster模块?我也试过从下面的目录打开powershell(x64)
c:\windows\SysWow64\WindowsPowershell\v1.0
Import-module failovercluster给出了类似的模块未找到错误。
我们如何解决这个问题?

vmdwslir

vmdwslir1#

我不得不用

Install-WindowsFeature -name FailOver-Clustering -IncludeManagementTools

对于Windows 2019获取正确的模块。

相关问题