Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Gets information about one or more failover clusters in a given domain.
Parameter Set: Name
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.
Specifies the name of the domain in which to enumerate clusters.
Aliases |
nenhuma |
Necessário? |
false |
Posição? |
named |
Valor padrão |
nenhuma |
Aceitar entrada do pipeline? |
false |
Aceitar caracteres curinga? |
false |
Specifies the name of the cluster to get.
Aliases |
nenhuma |
Necessário? |
false |
Posição? |
1 |
Valor padrão |
nenhuma |
Aceitar entrada do pipeline? |
false |
Aceitar caracteres curinga? |
true |
Esse cmdlet dá suporte a parâmetros comuns: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Para obter mais informações, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
O tipo de entrada é o tipo dos objetos que você pode canalizar para o cmdlet.
O tipo de saída é o tipo de objeto emitido pelo cmdlet.
- Microsoft.FailoverClusters.PowerShell.Cluster
This example displays state and property information for the local cluster in the form of a list.
PS C:\> Get-Cluster | Format-List –Property *
This example gets information about a cluster named cluster1.
PS C:\> Get-Cluster –Name cluster1
This example gets information about each of the clusters in the contoso.com domain.
PS C:\> Get-Cluster -Domain contoso.com
This example sets the common property called CrossSubnetDelay for the local cluster to 1500.
PS C:\> Get-Cluster | ForEach-Object –Process {$_.CrossSubnetDelay = 1500}
This example enables the Dynamic Quorum feature for the cluster.
PS C:\> (Get-Cluster).DynamicQuorum = 1