Exit-HcsMaintenanceMode
Takes a device out of maintenance mode.
Syntax
Exit-HcsMaintenanceMode
[-Force]
[<CommonParameters>]
Description
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 azure_1 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.
Examples
Example 1: Exiting maintenance mode
PS C:\> Exit-HcsMaintenanceMode
Before exiting maintenance mode, ensure that any updates that are required on both
controllers have been applied. Failure to install on each controller could result
in data corruption. Exiting maintenance mode will reboot both controllers, which
takes a few minutes to complete. Are you sure you want to exit maintenance mode?
[Y] Yes [N] No [?] Help (default is "Y"): y
This command exits maintenance mode.
Parameters
-Force
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
No return value.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för