< Back

Get-AzureRmSiteRecoveryVaultSettingsFile

Thu Apr 04, 2019 5:40 am

NAME Get-AzureRmSiteRecoveryVaultSettingsFile



SYNOPSIS

Gets the Site Recovery vault settings file.





SYNTAX

Get-AzureRmSiteRecoveryVaultSettingsFile [-DefaultProfile <IAzureContextContainer>] [-Path <String>] -Vault <ASRVault> [<CommonParameters>]



Get-AzureRmSiteRecoveryVaultSettingsFile [-DefaultProfile <IAzureContextContainer>] [-Path <String>] -SiteFriendlyName <String> -SiteIdentifier

<String> -Vault <ASRVault> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmSiteRecoveryVaultSettingsFile cmdlet gets the settings file for an Azure Site Recovery vault.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Path <String>

Specifies the path to the Site Recovery vault settings file. To store this file locally, download it from the Site Recovery vault portal once

the command completes.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-SiteFriendlyName <String>

Specifies the site friendly name for the vault when the site is a Hyper-V site.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-SiteIdentifier <String>

Specifies the site identifier for the vault when the site is a Hyper-V site.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Vault <ASRVault>

Specifies the vault object for the site.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

ASRVault

Parameter 'Vault' accepts value of type 'ASRVault' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.SiteRecovery.VaultSettingsFilePath







NOTES











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ttingsfile

Import-AzureRmSiteRecoveryVaultSettingsFile

Set-AzureRmSiteRecoveryVaultSettings