I have a failed Hyper-V role in my HA cluster that I cannot remove. The role shows in the cluster but any operation (including remove) fails with null pointer errors. If I look at Hyper-V on the node that is supposed to be running that role, no VM exists.
I tried remove-clusterresource, but PowerShell gives the same null pointer error.
I've moved all the other roles off that node, since it was constantly failing them over, but now I've got to get this role out of my cluster somehow so that I can start moving other machines back onto the none. I don't even care about retaining the data in the VM.
Is there any supported way to manually remove a VM role when none of the GUI tools or PowerShell work?