Import-AzureRmSiteRecoveryVaultSettingsFile

Imports a Site Recovery vault settings file.

Syntax

Import-AzureRmSiteRecoveryVaultSettingsFile
      [-Path] <String>
      [-DefaultProfile <IAzureContextContainer>]
      [<CommonParameters>]

Description

The Import-AzureRmSiteRecoveryVaultSettingsFile cmdlet imports an Azure Site Recovery vault settings file to set the vault context for subsequent Site Recovery operations in the current session.

Required Parameters

-Path

Specifies the path of the Site Recovery vault settings file. This file can be downloaded from the Site Recovery vault portal and stored locally.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.Azure.Commands.SiteRecovery.ASRVaultSettings