Enter-HcsMaintenanceMode
Enter-HcsMaintenanceMode
Puts a device into maintenance mode.
構文
Parameter Set: Default
Enter-HcsMaintenanceMode [-Force] [ <CommonParameters>]
詳細説明
The Enter-HcsMaintenanceMode cmdlet puts a device into maintenance mode. Putting a device in maintenance mode disrupts its I/Os and severs its connection to the Management Portal. Maintenance mode is primarily for installing updates that require you to disable I/O. Updates to disk firmware require you to disable I/O.
パラメーター
-Force
ユーザーの確認を求めずにコマンドを強制的に実行します。
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- This cmdlet does not generate any output.
例
Example 1: Enter device maintenance mode
This command enters device maintenance mode.
To reconnect, you must start a new Windows PowerShell® session. When you reconnect, maintenance mode information is displayed.
PS C:\> Enter-HcsMaintenanceMode