Get-ClusterQuorum

Gets information about the quorum configuration of a failover cluster.

Syntax

Get-ClusterQuorum
   [[-Cluster] <String>]
   [-InputObject <PSObject>]
   [<CommonParameters>]

Description

The Get-ClusterQuorum cmdlet gets information about the quorum configuration of a failover cluster.

The quorum configuration in a failover cluster determines the number of failures that the cluster can sustain. If an additional failure occurs, then the cluster must stop running. The relevant failures in this context are failures of nodes or, in some cases, of a disk witness (which contains a copy of the cluster configuration) or file share witness.

Examples

Example 1

PS C:\> Get-ClusterQuorum
Cluster                    QuorumResource                            QuorumType 
-------                    --------------                            ---------- 
cluster1                   Cluster Disk 1                   NodeAndDiskMajority

This example displays the quorum configuration for the local cluster.

Example 2

PS C:\> Get-ClusterQuorum -Cluster Cluster1
Cluster                    QuorumResource                            QuorumType 
-------                    --------------                            ---------- 
mycluster                                                          NodeMajority

This example displays the quorum configuration for the cluster named Cluster1.

Parameters

-Cluster

Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is . or it is omitted, then the cmdlet runs on the local cluster.

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

-InputObject

Specifies the cluster for which to query the quorum type.

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

Inputs

Microsoft.FailoverClusters.PowerShell.Cluster

Outputs

Microsoft.FailoverClusters.PowerShell.ClusterQuorumSettings