Reset-HcsFactoryDefault

Reset-HcsFactoryDefault

Resets one or both controllers to a factory default state.

Синтаксис

Parameter Set: Default
Reset-HcsFactoryDefault [[-Format] <String> ] [[-Scope] <ClusterScope> ] [-Force] [ <CommonParameters>]

Подробное описание

The Reset-HcsFactoryDefault cmdlet resets one or both controllers to a factory default state. If you reset both controllers, you lose all data, metadata, and controller settings. The controllers revert to the operating system that the factory installed.

If you use Reset-HcsFactoryDefault to reset only one controller, that controller gets the current operating system image from its peer controller. You should reset only one controller if the peer controller is running and is in a healthy state. You do not lose any data if you reset only one controller.

The default behavior of this cmdlet is to reset both controllers.

Параметры

-Force

Выполняет команду без запроса подтверждения пользователя.

Псевдонимы

отсутствуют

Требуется?

false

Указать положение?

named

Значение по умолчанию

отсутствуют

Принимать входные данные конвейера?

false

Принимать подстановочные знаки?

false

-Format<String>

Specifies the format for how the shared serial-attached SCSI (SAS) disks where customer data is stored are formatted.

Псевдонимы

отсутствуют

Требуется?

false

Указать положение?

1

Значение по умолчанию

Quick

Принимать входные данные конвейера?

false

Принимать подстановочные знаки?

false

-Scope<ClusterScope>

Specifies the scope. Ниже указаны допустимые значения этого параметра.

-- Cluster. Disable support access for both nodes. This option resets both controllers. This option loses all data. You must run setup again. This is the default.
-- Controller. Disable support access for the local node only. This option resets only the current controller. This option resets the current controller. That controller forms a cluster with the peer controller once the reset is complete. No data loss occurs in this process.

Псевдонимы

отсутствуют

Требуется?

false

Указать положение?

2

Значение по умолчанию

Cluster

Принимать входные данные конвейера?

false

Принимать подстановочные знаки?

false

<CommonParameters>

Этот командлет поддерживает следующие параметры: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, и -OutVariable. Для получения дополнительных сведений см. about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Входные данные

Тип входных данных — это тип объектов, которые можно передать в командлет через конвейер.

Выходные данные

Тип выходных данных — это тип объектов, которые выдает командлет.

Примеры

Example 1: Reset both controllers to the default factory state

This command resets both controllers to the default factory state.

PS C:\> Reset-HCSFactoryDefault

Example 2: Reset both controllers to the factory default state without confirmation

This command resets both controllers to the factory default state. The user is not prompted for confirmation.

PS C:\> Reset-HCSFactoryDefault -Force

Example 3: Reset the current controller to the factory default state

This command resets the current controller to the factory default state.

PS C:\> Reset-HCSFactoryDefault -Scope Controller