다음을 통해 공유


Start-OBRegistration

현재 컴퓨터를 Microsoft Azure 백업에 등록합니다.

구문

Default (기본값)

Start-OBRegistration
    [-RecoveryService] <CBServiceResource>
    [-Confirm]
    [-WhatIf]

Description

Start-OBRegistration cmdlet은 서버를 Microsoft Azure 백업에 등록합니다. cmdlet은 백업 인증서를 자격 증명 모음에 업로드하여 서버를 등록합니다. Get-OBCertificateListFromLocalStore cmdlet을 사용하여 로컬 컴퓨터 인증서 저장소에서 인증서 목록을 가져올 수 있습니다.

이 cmdlet은 WhatIfConfirm 매개 변수를 지원합니다. cmdlet은 기본적으로 사용자에게 확인 메시지를 표시합니다. WhatIf 매개 변수는 cmdlet이 작업을 수행하지 않고 수행하는 작업에 대한 자세한 설명을 제공합니다. Confirm 매개 변수는 cmdlet이 사용자에게 메시지를 표시해야 하는지 여부를 지정합니다. 프롬프트를 재정의하려면 -Confirm:$FALSE 를 지정합니다.

Microsoft Azure 백업 cmdlet을 사용하려면 사용자가 보호된 컴퓨터의 관리자여야 합니다.

예제

예제 1: 서버 등록

The first command gets the list of certificates from the local computer certificate store, and stores the result in the **$Cert** variable.
$Cert = Get-OBCertificateListFromLocalStore

The second command gets the list of backup vaults that can you use to register the current computer for the fifth certificate stored in **$Cert**. The command stores the result in the **$Item** variable.
$Item = Get-OBRecoveryService -Certificate $Cert[4]


The third command registers the current computer by using the first certificate stored in **$Item**.
Start-OBRegistration -RecoveryService $Item[0]

이 예제에서는 컴퓨터 등록을 시작합니다.

매개 변수

-Confirm

cmdlet을 실행하기 전에 확인 메시지를 표시합니다.

매개 변수 속성

형식:SwitchParameter
Default value:False
와일드카드 지원:False
DontShow:False

매개 변수 집합

(All)
Position:Named
필수:False
파이프라인의 값:False
속성 이름별 파이프라인의 값:False
나머지 인수의 값:False

-RecoveryService

Microsoft Azure Backup 복구 에이전트를 지정합니다.

매개 변수 속성

형식:CBServiceResource
Default value:None
와일드카드 지원:False
DontShow:False

매개 변수 집합

(All)
Position:2
필수:True
파이프라인의 값:True
속성 이름별 파이프라인의 값:False
나머지 인수의 값:False

-WhatIf

cmdlet이 실행되면 어떻게 되는지 보여 주세요. cmdlet이 실행되지 않습니다.

매개 변수 속성

형식:SwitchParameter
Default value:False
와일드카드 지원:False
DontShow:False

매개 변수 집합

(All)
Position:Named
필수:False
파이프라인의 값:False
속성 이름별 파이프라인의 값:False
나머지 인수의 값:False

입력

None

출력

None