다음을 통해 공유


Import-AzureSiteRecoveryVaultSettingsFile

Site Recovery 자격 증명 모음 설정 파일을 가져옵니다.

참고 항목

이 설명서에서 참조되는 cmdlet은 ASM(Azure Service Manager) API를 사용하는 레거시 Azure 리소스를 관리하기 위한 것입니다. 이 레거시 PowerShell 모듈은 ASM이 사용 중지될 예정이므로 새 리소스를 만들 때 권장되지 않습니다. 자세한 내용은 Azure Service Manager 사용 중지를 참조 하세요.

Az PowerShell 모듈은 PowerShell을 사용하여 ARM(Azure Resource Manager) 리소스를 관리하는 데 권장되는 PowerShell 모듈입니다.

구문

Import-AzureSiteRecoveryVaultSettingsFile
      -Path <String>
      [-Profile <AzureSMProfile>]
      [<CommonParameters>]

Description

Import-AzureSiteRecoveryVaultSettingsFile cmdlet은 Azure Site Recovery 자격 증명 모음 설정 파일을 가져와 현재 세션에서 후속 Site Recovery 작업에 대한 자격 증명 모음 컨텍스트를 설정합니다.

예제

예제 1: 자격 증명 모음 설정 파일 가져오기

PS C:\> Import-AzureSiteRecoveryVaultSettingsFile -Path "C:\Users\Contoso\Contosovault Monday, October 6, 2014.VaultCredentials"
VERBOSE: Vault Settings File path: C:\Users\Contoso\Contosovault Monday, October 6, 2014.VaultCredentials

ResourceName                                                CloudServiceName
------------                                                ----------------
Contosovault                                                RecoveryServices-6JP23WE3SKKOM5AFQG2YQAI22MNOWK52QDKWMUP...

이 명령은 지정된 경로에서 자격 증명 모음 설정 파일을 가져옵니다.

매개 변수

-Path

Site Recovery 자격 증명 모음 설정 파일의 경로를 지정합니다. 이 파일은 Site Recovery 자격 증명 모음 포털에서 다운로드하여 로컬로 저장할 수 있습니다.

형식:String
Position:Named
Default value:None
필수:True
파이프라인 입력 허용:True
와일드카드 문자 허용:False

-Profile

이 cmdlet이 읽는 Azure 프로필을 지정합니다. 프로필을 지정하지 않으면 이 cmdlet은 로컬 기본 프로필에서 읽습니다.

형식:AzureSMProfile
Position:Named
Default value:None
필수:False
파이프라인 입력 허용:False
와일드카드 문자 허용:False