Get-CauRun
Get-CauRun
Retrieves status information about an Updating Run currently in progress.
Syntax
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>]
Detaillierte Beschreibung
The Get-CauRun cmdlet retrieves status information about an Updating Run currently in progress. Use this cmdlet to monitor current Updating Runs.
Parameter
-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.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
1 |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-Credential<PSCredential>
Specifies the administrative credentials for the target cluster.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
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.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
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.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-WaitForStart
Returns only if there is an Updating Run in progress on the specified cluster, otherwise waits for an Updating Run to begin.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
<CommonParameters>
Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Eingaben
Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.
- None
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
- Microsoft.ClusterAwareUpdating.CauRun
- Microsoft.ClusterAwareUpdating.RunState
Beispiele
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