Get-CauRun
Get-CauRun
Retrieves status information about an Updating Run currently in progress.
Syntaxe
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>]
Description détaillée
The Get-CauRun cmdlet retrieves status information about an Updating Run currently in progress. Use this cmdlet to monitor current Updating Runs.
Paramètres
-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 |
none |
Obligatoire ? |
false |
Position ? |
1 |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-Credential<PSCredential>
Specifies the administrative credentials for the target cluster.
Alias |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
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 |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
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 |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
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 |
none |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.
- None
Sorties
Le type de sortie est le type des objets émis par l’applet de commande.
- Microsoft.ClusterAwareUpdating.CauRun
- Microsoft.ClusterAwareUpdating.RunState
Exemples
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