Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been trying to find a good way to gather various pieces of a windows cluster setup remotely, preferably via WMI, as we are not yet at a point where Powershell remoting is implemented (and I know this problem goes away with that).

I know I can use the following to get the current node:

Get-WmiObject Win32_ComputerSystem -ComputerName RemoteServer1 | Select Name

I also need the name property of Get-Cluster, which I can't figure out how to get from a remote system.

Is there something out there, or should I wait it out until Remoting gets implemented?

I'm a newbie to all things clustering, just a dba looking to inventory our servers properly. Thanks for any help!

share|improve this question
up vote 2 down vote accepted

I've written some functions which use the WMI cluster classes to get information remotely. As an added benefit, unlike the cluster module provided by Microsoft which only works against 2008 R2 and 2012, the WMI approach also works against 2003 and 2008 clusters.

share|improve this answer
Exactly what I'm looking for... thanks! – FilamentUnities Oct 24 '12 at 16:29
That code is the best. Thank you! – Ben yesterday

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.