Edit-​Azure​Rm​Site​Recovery​Recovery​Plan

Edits a Site Recovery plan.

Syntax

Edit-AzureRmSiteRecoveryRecoveryPlan
    -AddProtectedEntities <ASRProtectionEntity[]>
    -Group <ASRRecoveryPlanGroup>
    -RecoveryPlan <ASRRecoveryPlan>
    [<CommonParameters>]
Edit-AzureRmSiteRecoveryRecoveryPlan
    -AddProtectedItems <ASRReplicationProtectedItem[]>
    -Group <ASRRecoveryPlanGroup>
    -RecoveryPlan <ASRRecoveryPlan>
    [<CommonParameters>]
Edit-AzureRmSiteRecoveryRecoveryPlan
    [-AppendGroup]
    -RecoveryPlan <ASRRecoveryPlan>
    [<CommonParameters>]
Edit-AzureRmSiteRecoveryRecoveryPlan
    -Group <ASRRecoveryPlanGroup>
    -RecoveryPlan <ASRRecoveryPlan>
    -RemoveProtectedEntities <ASRProtectionEntity[]>
    [<CommonParameters>]
Edit-AzureRmSiteRecoveryRecoveryPlan
    -Group <ASRRecoveryPlanGroup>
    -RecoveryPlan <ASRRecoveryPlan>
    -RemoveProtectedItems <ASRReplicationProtectedItem[]>
    [<CommonParameters>]
Edit-AzureRmSiteRecoveryRecoveryPlan
    -RecoveryPlan <ASRRecoveryPlan>
    -RemoveGroup <ASRRecoveryPlanGroup>
    [<CommonParameters>]

Description

The Edit-AzureRmSiteRecoveryRecoveryPlan cmdlet edits an Azure Site Recovery plan.

Required Parameters

-AddProtectedEntities

Specifies an array of protected entities to add.

Type:ASRProtectionEntity[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AddProtectedItems
Type:ASRReplicationProtectedItem[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AppendGroup

Indicates that this operation appends the group to the recovery plan object.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Group

Specifies a Site Recovery plan group.

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

Specifies a recovery plan.

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

Removes the specified Site Recovery recovery plan group.

Type:ASRRecoveryPlanGroup
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveProtectedEntities

Specifies an array of protected entities.

Type:ASRProtectionEntity[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveProtectedItems
Type:ASRReplicationProtectedItem[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False