This is the built-in help made by Microsoft for the command 'Get-Cluster', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Gets information about one or more failover clusters in a given domain.
Get-Cluster [[-Name] <String>] [-Domain <String>] [<CommonParameters>]
The Get-Cluster cmdlet gets information about one or more failover clusters in a given domain.
This cmdlet can obtain a variety of configuration and state information about a failover cluster, including the following items:
-- State information about whether a backup is in progress.
-- State information about whether the cluster is in a forced quorum state.
-- Cross-network settings that are especially relevant for multi-site clusters.
To set a common property for the cluster, use this cmdlet to get the cluster object and then set the appropriate property on that cluster object directly.
<
Online Version: http://go.microsoft.com/fwlink/p/?LinkId=321025
ForEach-Object
Format-List
New-Cluster
Remove-Cluster
Start-Cluster
Stop-Cluster
Test-Cluster
<
EXAMPLE 1
PS C:\>Get-Cluster | Format-List –Property *
Domain : contoso.com
Name : cluster1
AddEvictDelay : 60
BackupInProgress : 0
ClusSvcHangTimeout : 60
ClusSvcRegroupOpeningTimeout : 5
ClusSvcRegroupPruningTimeout : 5
ClusSvcRegroupStageTimeout : 5
ClusSvcRegroupTickInMilliseconds : 300
ClusterGroupWaitDelay : 120
MinimumNeverPreemptPriority : 3000
MinimumPreemptorPriority : 1
ClusterEnforcedAntiAffinity : 0
ClusterLogLevel : 3
ClusterLogSize : 300
CrossSubnetDelay : 1000
CrossSubnetThreshold : 5
DefaultNetworkRole : 2
Description :
FixQuorum : 0
HangRecoveryAction : 3
IgnorePersistentStateOnStartup : 0
LogResourceControls : 0
PlumbAllCrossSubnetRoutes : 0
PreventQuorum : 0
QuorumArbitrationTimeMax : 20
RequestReplyTimeout : 60
RootMemoryReserved : 4294967295
RouteHistoryLength : 0
SameSubnetDelay : 1000
SameSubnetThreshold : 5
SecurityLevel : 1
SharedVolumeCompatibleFilters : {}
SharedVolumeIncompatibleFilters : {}
SharedVolumesRoot : C:\ClusterStorage
SharedVolumeSecurityDescriptor : {1, 0, 4, 128...}
ShutdownTimeoutInMinutes : 20
UseNetftForSharedVolumes : 1
UseClientAccessNetworksForSharedVolumes : 0
SharedVolumeBlockCacheSizeInMB : 0
WitnessDatabaseWriteTimeout : 300
WitnessRestartInterval : 15
EnableSharedVolumes : Enabled
DynamicQuorum : 1
Id : af5881ef-0ff7-4b5c-bfed-098decbbf762
This example displays state and property information for the local cluster in the form of a list.
EXAMPLE 2
PS C:\>Get-Cluster –Name cluster1
Name
----
cluster1
This example gets information about a cluster named cluster1.
EXAMPLE 3
PS C:\>Get-Cluster -Domain contoso.com
Name
----
cluster1
cluster2
cluster3
This example gets information about each of the clusters in the contoso.com domain.
EXAMPLE 4
PS C:\> Get-Cluster | ForEach-Object –Process {$_.CrossSubnetDelay = 1500}
This example sets the common property called CrossSubnetDelay for the local cluster to 1500.
EXAMPLE 5
PS C:\>(Get-Cluster).DynamicQuorum = 1
This example enables the Dynamic Quorum feature for the cluster.