< Back

Edit-AzureRmSiteRecoveryRecoveryPlan

Thu Apr 04, 2019 5:40 am

NAME Edit-AzureRmSiteRecoveryRecoveryPlan



SYNOPSIS

Edits a Site Recovery plan.





SYNTAX

Edit-AzureRmSiteRecoveryRecoveryPlan -AddProtectedEntities <ASRProtectionEntity[]> [-DefaultProfile <IAzureContextContainer>] -Group

<ASRRecoveryPlanGroup> -RecoveryPlan <ASRRecoveryPlan> [<CommonParameters>]



Edit-AzureRmSiteRecoveryRecoveryPlan -AddProtectedItems <ASRReplicationProtectedItem[]> [-DefaultProfile <IAzureContextContainer>] -Group

<ASRRecoveryPlanGroup> -RecoveryPlan <ASRRecoveryPlan> [<CommonParameters>]



Edit-AzureRmSiteRecoveryRecoveryPlan -AppendGroup [-DefaultProfile <IAzureContextContainer>] -RecoveryPlan <ASRRecoveryPlan> [<CommonParameters>]



Edit-AzureRmSiteRecoveryRecoveryPlan [-DefaultProfile <IAzureContextContainer>] -Group <ASRRecoveryPlanGroup> -RecoveryPlan <ASRRecoveryPlan>

-RemoveProtectedEntities <ASRProtectionEntity[]> [<CommonParameters>]



Edit-AzureRmSiteRecoveryRecoveryPlan [-DefaultProfile <IAzureContextContainer>] -Group <ASRRecoveryPlanGroup> -RecoveryPlan <ASRRecoveryPlan>

-RemoveProtectedItems <ASRReplicationProtectedItem[]> [<CommonParameters>]



Edit-AzureRmSiteRecoveryRecoveryPlan [-DefaultProfile <IAzureContextContainer>] -RecoveryPlan <ASRRecoveryPlan> -RemoveGroup

<ASRRecoveryPlanGroup> [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-AddProtectedEntities <ASRProtectionEntity[]>

Specifies an array of protected entities to add.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-AddProtectedItems <ASRReplicationProtectedItem[]>





Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-AppendGroup [<SwitchParameter>]

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



Required? true

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-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



-Group <ASRRecoveryPlanGroup>

Specifies a Site Recovery plan group.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RecoveryPlan <ASRRecoveryPlan>

Specifies a recovery plan.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-RemoveGroup <ASRRecoveryPlanGroup>

Removes the specified Site Recovery recovery plan group.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RemoveProtectedEntities <ASRProtectionEntity[]>

Specifies an array of protected entities.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-RemoveProtectedItems <ASRReplicationProtectedItem[]>





Required? true

Position? named

Default value None

Accept pipeline input? False

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

ASRRecoveryPlan

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





OUTPUTS



NOTES











RELATED LINKS

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

Get-AzureRmSiteRecoveryRecoveryPlan

New-AzureRmSiteRecoveryRecoveryPlan