Update-​Azure​Rm​Site​Recovery​Recovery​Plan

Updates a recovery plan in Site Recovery.

Syntax

Update-AzureRmSiteRecoveryRecoveryPlan
      -Path <String>
      [<CommonParameters>]
Update-AzureRmSiteRecoveryRecoveryPlan
      -RecoveryPlan <ASRRecoveryPlan>
      [<CommonParameters>]

Description

The Update-AzureRmSiteRecoveryRecoveryPlan cmdlet updates a recovery plan in Azure Site Recovery and then publishes it.

Examples

Example 1: Update a recovery plan

PS C:\>Update-AzureRmSiteRecoveryRecoveryPlan -File "C:\Users\Contoso\Desktop\RecoveryPlan.xml"

This command updates the specified recovery plan, and then publishes it.

Required Parameters

-Path

Specifies the path of the recovery plan file of the recovery plan that this cmdlet updates.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RecoveryPlan

Specifies a recovery plan that this cmdlet updates.

Type:ASRRecoveryPlan
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False