I am on one of the hosts in the cluster. While trying to add a VM to a 2012 R2 cluster I receive the following error:
Add-ClusterVirtualMachineRole : The Virtual Machine 'TestVM8' is not valid.
At line:1 char:1
+ Add-ClusterVirtualMachineRole -VMName TestVM8
I am using CredSSP.
From a remote station I receive this error:
Add-ClusterVirtualMachineRole : Invalid class
At line:1 char:1
+ Add-ClusterVirtualMachineRole -VirtualMachine TestVM8 -Cluster testcluster1
Remoting is enabled (Enable-PSRemoting -force) on the hosts in the cluster. Does anyone have any ideas on why this would not work? Thanks in advance.