Start-HcsUpdate
Start-HcsUpdate
Installs updates.
構文
Parameter Set: Default
Start-HcsUpdate [-Force] [-UpdateId <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Start-HcsUpdate cmdlet installs updates on a device. If the device is in maintenance mode, the cmdlet installs only disruptive updates. If the device is not in maintenance mode, the cmdlet installs only normal updates.
For updates that do not require maintenance mode, this cmdlet installs the update on both controllers.
For all updates that require maintenance mode, run this cmdlet on each controller. If you do not to run this cmdlet on each controller, data may become corrupted.
パラメーター
-Force
ユーザーの確認を求めずにコマンドを強制的に実行します。
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-UpdateId<String>
Specifies an update ID. The cmdlet installs the particular update specified by the ID.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
Boolean
This cmdlet generates a value of $True if it starts installing an update or a value of $False if there are no updates available.
例
Example 1: Install updates
This command installs available updates.
PS C:\> Start-HcsUpdate