This command gets the cluster quorum type

Command :

Get-Cluster -Name ClusterName | Get-ClusterQuorum

<>

My Powershell script categories


Reference
Get-ClusterQuorum

 

Syntax

Get-ClusterQuorum [-InputObject ] [-Cluster ] []
  • 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

 

Examples

————————– EXAMPLE 1 ————————–

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

Description

———–

This command displays the quorum configuration for the local cluster.

 

————————– EXAMPLE 2 ————————–

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

Description

———–

This command displays the quorum configuration for Cluster1.

Get the cluster quorum type

Leave a Reply

Your email address will not be published. Required fields are marked *