Get-ClusterQuorum
Get-ClusterQuorum
Gets information about the quorum configuration of a failover cluster.
Syntax
Parameter Set: InputObject
Get-ClusterQuorum [[-Cluster] <String> ] [-InputObject <PSObject> ] [ <CommonParameters>]
Detailed 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.
Parameters
-Cluster<String>
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.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-InputObject<PSObject>
Specifies the cluster for which to query the quorum type.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
- Microsoft.FailoverClusters.PowerShell.Cluster
Outputs
The output type is the type of the objects that the cmdlet emits.
- Microsoft.FailoverClusters.PowerShell.ClusterQuorumSettings
Examples
EXAMPLE 1
This example displays the quorum configuration for the local cluster.
PS C:\> Get-ClusterQuorum
EXAMPLE 2
This example displays the quorum configuration for the cluster named Cluster1.
PS C:\> Get-ClusterQuorum -Cluster Cluster1