Enter-HcsMaintenanceMode

Puts a device into maintenance mode.

Syntax

Enter-HcsMaintenanceMode
     [-Force]
     [<CommonParameters>]

Description

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

Examples

Example 1: Enter device maintenance mode

PS C:\> Enter-HcsMaintenanceMode


Maintenance mode will disrupt all IOs and server the connection to the 
azure_1 Management Portal. Entering maintenance mode will reboot both 
controllers, which takes a few minutes to complete. Are you sure you want to enter 
maintenance mode? 
[Y] Yes  [N] No  [?] Help (default is "Y"):
----------------MAINTENANCE MODE-----------------

azure_1 StorSimple Device Model 7700
Name: emards_device
Software Version: 6.3.9600.16517
Copyright (C) 2013 Microsoft Corporation. All rights reserved. 
You are connected to Controller1

-------------------------------------------------

This command enters device maintenance mode.

To reconnect, you must start a new Windows PowerShell® session. When you reconnect, maintenance mode information is displayed.

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

This cmdlet does not generate any output.