Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Remove-AzureSiteRecoveryRecoveryPlan

Remove-AzureSiteRecoveryRecoveryPlan

microsoft.azure.commands.recoveryservices.dll

Synopsis

Remove a Recovery Plan from the current Azure Site Recovery Vault

Syntax

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

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

Detailed Description

Remove a Recovery Plan from the current Azure Site Recovery Vault

Parameters

-Force <SwitchParameter>

Bypasses confirmation on passing

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Id <string>

Id of the Recovery Plan

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-RecoveryPlan <ASRRecoveryPlan>

Recovery Plan object

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-WaitForCompletion <SwitchParameter>

Waits till the operation completes

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

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

C:\PS>

Description

-----------

          $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           : {}