다음을 통해 공유


Start-OBRegistration

현재 컴퓨터를 Microsoft Azure Backup 등록합니다.

Syntax

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

Description

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

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

Microsoft Azure Backup 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을 실행하기 전에 확인을 요청합니다.

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RecoveryService

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

Type:CBServiceResource
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

cmdlet을 실행할 경우 발생하는 일을 표시합니다. cmdlet은 실행되지 않습니다.

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

입력

None

출력

None