< Back

Remove-AzureSiteRecoveryRecoveryPlan

Wed Jan 30, 2019 5:51 pm

NAME Remove-AzureSiteRecoveryRecoveryPlan



SYNOPSIS

Remove a Recovery Plan from the current Azure Site Recovery Vault





SYNTAX

Remove-AzureSiteRecoveryRecoveryPlan -Id <string> [-Force] [-WaitForCompletion] [<CommonParameters>]



Remove-AzureSiteRecoveryRecoveryPlan -RecoveryPlan <ASRRecoveryPlan> [-Force] [-WaitForCompletion] [<CommonParameters>]





DESCRIPTION

Remove a Recovery Plan from the current Azure Site Recovery Vault





PARAMETERS

-Force [<SwitchParameter>]

Bypasses confirmation on passing



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Id <string>

Id of the Recovery Plan



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RecoveryPlan <ASRRecoveryPlan>

Recovery Plan object



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-WaitForCompletion [<SwitchParameter>]

Waits till the operation completes



Required? false

Position? named

Default value

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS









NOTES







Keywords: azure, azuresm, servicemanagement, management, service, site, recovery







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



C:\\PS>$Rp = Get-AzureSiteRecoveryRecoveryPlan; Remove-AzureSiteRecoveryRecoveryPlan -RecoveryPlan $Rp



ID : 20329f92-9ed6-4529-8b74-d83309623248

ClientRequestId : 6c967844-096f-4ca6-a166-55936fd6d61c-2014-36-06 15:36:40Z-P

State : NotStarted

StateDescription : NotStarted

StartTime :

EndTime :

AllowedActions : {}

Name :

Tasks : {}

Errors : {}



Description



-----------













RELATED LINKS