Get-CauRun
Get-CauRun
Retrieves status information about an Updating Run currently in progress.
Sintaxis
Parameter Set: DefaultParamSet
Get-CauRun [[-ClusterName] <String> ] [-Credential <PSCredential> ] [ <CommonParameters>]
Parameter Set: ShowClusterNodeState
Get-CauRun [[-ClusterName] <String> ] [-Credential <PSCredential> ] [-ShowClusterNodeState] [ <CommonParameters>]
Parameter Set: WaitForCompletion
Get-CauRun [[-ClusterName] <String> ] [-Credential <PSCredential> ] [-WaitForCompletion] [ <CommonParameters>]
Parameter Set: WaitForStart
Get-CauRun [[-ClusterName] <String> ] [-Credential <PSCredential> ] [-WaitForStart] [ <CommonParameters>]
Descripción detallada
The Get-CauRun cmdlet retrieves status information about an Updating Run currently in progress. Use this cmdlet to monitor current Updating Runs.
Parámetros
-ClusterName<String>
Specifies the name of the cluster for which to get the Updating Run status. This parameter is only required when this cmdlet is not run on a failover cluster node, or this cmdlet is used to reference a failover cluster different from where the cmdlet is run.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Credential<PSCredential>
Specifies the administrative credentials for the target cluster.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-ShowClusterNodeState
If this parameter is specified, the cmdlet retrieves the status of the WMI object that is created on each cluster node. This can be used to debug the status of leftover objects.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WaitForCompletion
Returns after the Updating Run has finished, and writes the updated CAU run objects to the output stream as progress is recorded by the current CAU Update Coordinator.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WaitForStart
Returns only if there is an Updating Run in progress on the specified cluster, otherwise waits for an Updating Run to begin.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
- None
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
- Microsoft.ClusterAwareUpdating.CauRun
- Microsoft.ClusterAwareUpdating.RunState
Ejemplos
EXAMPLE 1
This example gets status information about the Updating Run currently in progress on the cluster called CONTOSO-FC1.
PS C:\> Get-CauRun -ClusterName CONTOSO-FC1