Remove-AzureRmSiteRecoveryPolicy

Removes a Site Recovery replication policy.

Syntax

Remove-AzureRmSiteRecoveryPolicy
      -Policy <ASRPolicy>
      [-DefaultProfile <IAzureContextContainer>]
      [<CommonParameters>]

Description

The Remove-AzureRMSiteRecoveryPolicy cmdlet removes an Azure Site Recovery replication policy.

Required Parameters

-Policy

Specifies the Site Recovery policy object.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRPolicy
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
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

ASRPolicy

Parameter 'Policy' accepts value of type 'ASRPolicy' from the pipeline