Share via


Get-ClusterQuorum

Get-ClusterQuorum

Get information about the quorum configuration of a failover cluster.

Syntax

Get-ClusterQuorum [-InputObject <psobject>] [-Cluster <string>] [<CommonParameters>]
  • InputObject

  • Cluster

Detailed Description

The quorum configuration in a failover cluster determines the number of failures that the cluster can sustain. If an additional failure occurs, 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.

Parameters

Cluster

Specifies the name of the cluster to run this cmdlet on. If you type "-Cluster ." or omit the parameter, the cmdlet runs on the local cluster.

Default Value: **

Data Type: string

Attributes

Name Value PSMAML Attribute

Required?

false

required

Variable Length?

false

variableLength

Accept wildcard characters?

false

globbing

Accept Pipeline Input?

false

pipelineInput

Position?

named

position

Value Attributes

Name Value PSMAML Attribute

Required?

true

required

Variable Length?

false

variableLength

InputObject

Specifies the cluster to query quorum type for.

Default Value: **

Data Type: psobject

Attributes

Name Value PSMAML Attribute

Required?

false

required

Variable Length?

false

variableLength

Accept wildcard characters?

false

globbing

Accept Pipeline Input?

true (ByValue)

pipelineInput

Position?

named

position

Value Attributes

Name Value PSMAML Attribute

Required?

true

required

Variable Length?

false

variableLength

Input Type

Microsoft.FailoverClusters.PowerShell.Cluster

Return Type

Microsoft.FailoverClusters.PowerShell.ClusterQuorumSettings

Examples

-------------------------- EXAMPLE 1 --------------------------

Command Prompt: C:\PS>

 
Get-ClusterQuorum 
 
Cluster                    QuorumResource                 QuorumType 
-------                    --------------                 ---------- 
cluster1                   Cluster Disk 1        NodeAndDiskMajority

Description

-----------

This command displays the quorum configuration for the local cluster.

 

-------------------------- EXAMPLE 2 --------------------------

Command Prompt: C:\PS>

 
Get-ClusterQuorum -Cluster Cluster1 
 
Cluster                    QuorumResource                 QuorumType 
-------                    --------------                 ---------- 
Cluster1                                                NodeMajority

Description

-----------

This command displays the quorum configuration for Cluster1.

See Also

Reference

Set-ClusterQuorum

Other Resources

Online version: