Administrator Guide

Appendix C: Retrieving cluster names, host
names, and IP addresses
You can use the following Windows PowerShell commands to retrieve cluster and host names, and IP addresses for the clusters, hosts, and
infrastructure VMs.
Run the commands in an elevated Windows PowerShell session on the Console VM.
Topics:
Get cluster names
Get the cluster IP addresses
Get host names and IP addresses for cluster hosts
Get infrastructure VM names and addresses
Get cluster names
Syntax
Get-Cluster -Name <StampPrefix>*
Example
Get-Cluster -Name S54*
Get the cluster IP addresses
Example 1: Compute clusters
Syntax
Get-Cluster -Name <ComputeClusterName> | Get-ClusterResource "Cluster IP Address"| Get-
ClusterParameter -Name Address
Example
Get-Cluster -Name S54CCL | Get-ClusterResource "Cluster IP Address"| Get-ClusterParameter -Name
Address
Example 2: File server clusters
Syntax
Get-Cluster -Name <FileServerClusterName> | Get-ClusterResource "Cluster IP Address"| Get-
ClusterParameter -Name Address
Appendix C: Retrieving cluster names, host names, and IP addresses
153