Exit-HcsMaintenanceMode

Exit-HcsMaintenanceMode

Takes a device out of maintenance mode.

Syntax

Parameter Set: Default
Exit-HcsMaintenanceMode [-Force] [ <CommonParameters>]

Detailed 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 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.

Parameters

-Force

Forces the command to run without asking for user confirmation.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • No return value.

Examples

Example 1: Exiting maintenance mode

This command exits maintenance mode.

PS C:\> Exit-HcsMaintenanceMode

Enter-HcsMaintenanceMode