Skip to content

Latest commit

 

History

History
87 lines (61 loc) · 2.5 KB

Import-AzureSiteRecoveryVaultSettingsFile.md

File metadata and controls

87 lines (61 loc) · 2.5 KB
external help file ms.assetid online version schema
Microsoft.Azure.Commands.RecoveryServicesRdfe.dll-Help.xml
5875D72D-B8DB-4F72-BF5C-242D40A13DE1
2.0.0

Import-AzureSiteRecoveryVaultSettingsFile

SYNOPSIS

Imports a Site Recovery vault settings file.

[!INCLUDE rdfe-banner]

SYNTAX

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

DESCRIPTION

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

EXAMPLES

Example 1: Import a vault settings file

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...

This command imports the vault settings file at the specified path.

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
Parameter Sets: (All)
Aliases: 

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type: AzureSMProfile
Parameter Sets: (All)
Aliases: 

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Get-AzureSiteRecoveryVaultSettings

Get-AzureSiteRecoveryVaultSettingsFile