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.

Parameters

-DefaultProfile

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

Type:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Policy

Specifies the Site Recovery policy object.

Type:ASRPolicy
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Inputs

ASRPolicy

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