How to get cluster information remotely via Powershell?

Posted by pdanke on Server Fault See other posts from Server Fault or by pdanke
Published on 2012-10-24T14:18:00Z Indexed on 2012/10/24 17:04 UTC
Read the original article Hit count: 235

Filed under:
|
|

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!

© Server Fault or respective owner

Related posts about powershell

Related posts about cluster