Hello,
i've installed RMA on Windows 2012 R2 to run Powershell Scripts.
i Need the failovercluster-module but it is not possible to load it:
[11:12:20] Agent: VS-RFSW12-DBP2 is going to execute "GetClusterGroupOwner" script ...
[11:12:21] Script started, invalid result received:
----------
Import-Module : The specified module 'FailoverClusters' was not loaded because no valid module file was found in any
module directory.
At C:\Users\fstecadm\AppData\Local\Temp\tmp-9428-6.ps1:1 char:1
+ Import-Module FailoverClusters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (FailoverClusters:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Get-ClusterGroup : The term 'Get-ClusterGroup' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
----------
Follow Script Settings i use:
Start-CMD:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -File %Script% %Params%
already testet it with powershell.exe -ExecutionPolicy ByPass -File %Script% %Params%
Import-Module FailoverClusters
Get-ClusterGroup
If i use this command on local powershell console, it works without any issues.