Get-Cluster

SYNOPSIS

Gets PowerStore clusters.

SYNTAX

ByCluster (Default)

Get-Cluster [[-Cluster] <Cluster>] [<CommonParameters>]

ByHostName

Get-Cluster -HostName <String[]> [<CommonParameters>]

BySaved

Get-Cluster [-Saved] [<CommonParameters>]

DESCRIPTION

Refreshes details of the connected clusters. The Cluster parameter is optional. If not provided, all connected clusters will be discovered.

This could take a long time if any of the clusters are unreachable.

If Saved option is used, this command will return host names or IP addresses of the saved clusters which were connected by using the Connect-Cluster command with the SaveCredentials option.

EXAMPLES

Example 1

PS C:\> Get-Cluster

Discovers all clusters.

Example 2

PS C:\> Get-Cluster -Cluster $cluster

Where $cluster is a PowerStore cluster instance. Discovers the cluster.

Example 3

PS C:\> Get-Cluster hostName1

Discovers cluster with the host name hostName1.

Example 4

PS C:\> Get-Cluster hostName1,hostName2

Discovers clusters with the hostName1 and hostName2

Example 5

PS C:\> Get-Cluster -Saved

Gets all saved clusters.

PARAMETERS

-Cluster

A PowerStore cluster instance.

Type: Cluster
Parameter Sets: ByCluster
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-HostName

A list of FQDNs or IP addresses.

Type: String[]
Parameter Sets: ByHostName
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Saved

Lists FQDNs or IP addresses of the saved clusters.

Type: SwitchParameter
Parameter Sets: BySaved
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String[]

OUTPUTS

Dell.PowerStore.Management.Model.Cluster

System.String

NOTES