Edit-AzureRmSiteRecoveryRecoveryPlan

Edits a Site Recovery plan.

Syntax

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

Description

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

Required Parameters

-AddProtectedEntities

Specifies an array of protected entities to add.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRProtectionEntity[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AddProtectedItems
Type:Microsoft.Azure.Commands.SiteRecovery.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:System.Management.Automation.SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Group

Specifies a Site Recovery plan group.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRRecoveryPlanGroup
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RecoveryPlan

Specifies a recovery plan.

Type:Microsoft.Azure.Commands.SiteRecovery.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:Microsoft.Azure.Commands.SiteRecovery.ASRRecoveryPlanGroup
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveProtectedEntities

Specifies an array of protected entities.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRProtectionEntity[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveProtectedItems
Type:Microsoft.Azure.Commands.SiteRecovery.ASRReplicationProtectedItem[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DefaultProfile

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

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ASRRecoveryPlan

Parameter 'RecoveryPlan' accepts value of type 'ASRRecoveryPlan' from the pipeline