Reset-HcsFactoryDefault

Reset-HcsFactoryDefault

Resets one or both controllers to a factory default state.

Sintaxe

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

Descrição detalhada

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.

Parâmetros

-Force

Força o comando a ser executado sem solicitar a confirmação do usuário.

Aliases

nenhuma

Necessário?

false

Posição?

named

Valor padrão

nenhuma

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-Format<String>

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

Aliases

nenhuma

Necessário?

false

Posição?

1

Valor padrão

Quick

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-Scope<ClusterScope>

Specifies the scope. Os valores aceitáveis para este parâmetro são:

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

Aliases

nenhuma

Necessário?

false

Posição?

2

Valor padrão

Cluster

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

<CommonParameters>

Esse cmdlet dá suporte a parâmetros comuns: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Para obter mais informações, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

O tipo de entrada é o tipo dos objetos que você pode canalizar para o cmdlet.

Saídas

O tipo de saída é o tipo de objeto emitido pelo cmdlet.

Exemplos

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