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>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

예제

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