Manage your Windows Failover Cluster with PowerShell

If you’ve ever tried to manage your Windows Failover Cluster using Failover Cluster Manager, you know how much of a pain it can be when you need to do maintenance and have to move roles to the standby node. Moving most of the roles are easy, but when it comes time to move the quorum drive/role, it’s not so easy.

That’s why I prefer to use PowerShell to handle this. Lets start by using the Get-ClusterGroup cmdlet to list the cluster roles and what node handles said roles.

**These commands must be run from a PowerShell window run as Administrator **

Get-ClusterGroup

The file server cluster is listed and the Cluster Group is the Quorum. From here, the easy way is to move the roles to the other node is to use the Move-ClusterGroup cmdlet.

Get-ClusterGroup | Move-ClusterGroup -node Node2

Now, if you look in Failover Cluster Manager, you’ll see all roles are now on Node2. Looking in This PC will also show you that all the cluster drives also moved.

This makes managing your Windows Failover Clusters very easy!

Ben Liebowitz, VCP, vExpert
NJ VMUG Leader

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.