Skip to main content
SnapCenter 4.7 cmdlets

Remove-SdSnapMirrorPolicyRule

Contributors

Removes the rules from the SnapMirror policy associated with the SnapVault relationship.

Syntax

Remove-SdSnapMirrorPolicyRule [-SourceStorageSystem]  <String>  [-SourceStorageSystemVolume]  <String>  [-DestinationStorageSystem]  <String>  [-DestinationStorageSystemVolume]  <String>  [-SnapMirrorLabel]  <String[]>  [-Session]  <String>  [-Host]  <String>

Detailed Description

Removes the rules from the SnapMirror policy associated with the SnapVault relationship. Related cmdlets: Set-SdSnapMirrorPolicyRule, Get-SdSnapMirrorPolicyRule

Parameters

Name Description Required? Pipeline Input Default Value

SourceStorageSystem

Specifies the primary storage system name containing the source volumes of the SnapMirror relationship for which you want to remove the SnapMirror policy rules. IP addresses are not supported.

true

true (ByValue, ByPropertyName)

SourceStorageSystemVolume

Specifies the source volume of the SnapMirror relationship for which you want to remove the SnapMirror policy rules.

true

true (ByPropertyName)

DestinationStorageSystem

Specifies the secondary storage system name containing the destination volumes of the SnapMirror relationship for which you want to remove the SnapMirror policy rules. IP addresses are not supported.

true

true (ByValue, ByPropertyName)

DestinationStorageSystemVolume

Specifies the destination volume of the SnapMirror relationship for which you want to remove the SnapMirror policy rules.

true

true (ByPropertyName)

SnapMirrorLabel

Specifies the SnapMirror policy rule which you want to remove.

true

true (ByPropertyName)

Session

false

true (ByPropertyName)

Host

Specifies the name or IP address of the host on which you execute the operation. The default is your local machine.

false

true (ByPropertyName)

Examples

Example 1: Removing SnapMirror policy rule information from the policy for a SnapMirror relationship

 PS C:\> Remove-SdSnapMirrorPolicyRule -SourceStorageSystem vs01 -SourceStorageSystemVolume src_vol01 -DestinationStorageSystem vs02 -DestinationStorageSystemVolume dest_vol01 -SnapMirrorLabel myWeekly,myMonthly -verbose -Confirm:$false

Removes the SnapMirror policy rules (myWeekly, myMonthly) from the policy on the specified relationship.