Exit-HcsMaintenanceMode
Exit-HcsMaintenanceMode
Takes a device out of maintenance mode.
語法
Parameter Set: Default
Exit-HcsMaintenanceMode [-Force] [ <CommonParameters>]
詳細描述
The Exit-HcsMaintenanceMode cmdlet takes a device out of maintenance mode. Taking a device out of maintenance mode restores I/Os and restores the connection to the Management Portal.
Before exiting maintenance mode, ensure that all updates are fully installed on all controllers. You must install maintenance mode updates on each controller individually. If you do not install these updates on each controller before the device enters maintenance mode, data may become corrupted.
參數
-Force
強制命令執行而不要求使用者確認。
別名 |
無 |
必要? |
false |
位置? |
named |
預設值 |
無 |
接受管線輸入? |
false |
接受萬用字元? |
false |
<CommonParameters>
此 Cmdlet 支援一般參數:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 與 -OutVariable。如需詳細資訊,請參閱 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
輸入
輸入類型是您可以使用管線處理方式傳遞給 Cmdlet 的物件類型。
輸出
輸出類型是 Cmdlet 所發出的物件類型。
- No return value.
範例
Example 1: Exiting maintenance mode
This command exits maintenance mode.
PS C:\> Exit-HcsMaintenanceMode