Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureSiteRecoveryRecoveryPlanFile

Get-AzureSiteRecoveryRecoveryPlanFile

microsoft.azure.commands.recoveryservices.dll

Synopsis

Get-AzureSiteRecoveryRecoveryPlanFile download the recovery plan in an XML format. This file can be updated and used to upload the updated Recovery Plan.

Syntax

Get-AzureSiteRecoveryRecoveryPlanFile [-Id] [-Path] [<CommonParameters>]

Get-AzureSiteRecoveryRecoveryPlanFile [-Path] [-RecoveryPlan] [<CommonParameters>]

Detailed Description

Get-AzureSiteRecoveryRecoveryPlanFile download the recovery plan in an XML format. This file can be updated and used to upload the updated Recovery Plan. A recovery plan gathers virtual machines in a group for the purposes of failover and recovery

Parameters

-Id <string>

Id of the recovery Plan

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Path <string>

Path to store the recovery plan xml file

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-RecoveryPlan <ASRRecoveryPlan>

Recovery Plan object

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

C:\PS>

Description

-----------

          $Rp = Get-AzureSiteRecoveryRecoveryPlan; Get-AzureSiteRecoveryRecoveryPlanFile -RecoveryPlan $Rp -Path C:\Users\Contoso\Desktop\RP.xml