Since Windows Server 2008 R2, the cluster.exe file has deceased.
If you have ever worked with a command line utility to manage your Windows Cluster, you would probably have used cluster.exe
But if this tool is dead, then how do you manage your cluster from the command line?
The answer to that question is fairly simple: PowerShell.
As with many other Microsoft products and their functionalities, Microsoft has decided to make use of their command line scripting language named PowerShell. The huge advantage of using PowerShell to manage your environment, is that it is very powerful yet fairly easy to use.
A few examples:
Cluster.exe | PowerShell |
cluster /create | New-Cluster |
cluster /add | Add-ClusterNode |
cluster/quorum | Get-ClusterQuorum |
For a complete list of cluster.exe commands vs. PowerShell commands can be found in this TechNet article.
As you can see, the PowerShell commands are very intuitive and once you comprehend and get used to the mindset behind the commands, you can easily figure out the commands to be used in other features or products. But just in case you don’t know howto use those commands, you can always type “Get-Help”. Once you know the command, you can use (for example) “man New-Cluster –example” to get some examples about the syntax and format.
For a complete list of cluster.exe commands vs. PowerShell commands can be found in this TechNet article.
But that is just a list of old vs. new commands… When you want to know how you can use the new commands, take a look at this great Microsoft Knowledge Base article