Stop-CauRun
Stop-CauRun
Stops an Updating Run that is in progress on a cluster.
構文
Parameter Set: Default
Stop-CauRun [[-ClusterName] <String> ] [-Credential <PSCredential> ] [-Force] [-Wait] [ <CommonParameters>]
詳細説明
The Stop-CauRun cmdlet stops an Updating Run that is in progress on a failover cluster.
パラメーター
-ClusterName<String>
Specifies the name of the cluster on which to stop an Updating Run that is in progress. 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.
エイリアス |
なし |
必須? |
false |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Credential<PSCredential>
Specifies the administrative credentials for the target cluster.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Force
Runs the cmdlet without prompting for confirmation. By default the cmdlet will ask for confirmation from the user before proceeding.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Wait
Returns after the canceled Updating Run has completely finished. Otherwise, returns as soon as the stop request has been acknowledged by the current CAU Update Coordinator.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
- None
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- System.Boolean
例
EXAMPLE 1
This example stops the Updating Run that is being performed by the CAU Update Coordinator that is configured on the cluster named CONTOSO-FC1. The cmdlet waits to return until the canceled Updating Run has completely finished. The cmdlet runs without displaying confirmation prompts.
PS C:\> Stop-CauRun -ClusterName CONTOSO-FC1 -Wait -Force