< Back
Remove-SVTpolicyRule
Post
NAME Remove-SVTpolicyRule
SYNOPSIS
Deletes a backup rule from an existing HPE SimpliVity backup policy
SYNTAX
Remove-SVTpolicyRule [-PolicyName] <String> [-RuleNumber] <String> [<CommonParameters>]
DESCRIPTION
Delete an existing rule from a HPE SimpliVity backup policy. You must specify the policy name and the rule number
to be removed.
Rule numbers start from 0 and increment by 1. Use Get-SVTpolicy to identify the rule you want to delete
PARAMETERS
-PolicyName <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-RuleNumber <String>
Required? true
Position? 2
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
System.String
OUTPUTS
HPE.SimpliVity.Task
NOTES
There seems to be a bug, you cannot remove rule 0 if there are other rules.
You can use Set-SVTpolicyRule with the -ReplaceRules parameter to remove all rules, or remove the other rules
first.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-SVTPolicyRule -Policy Gold -RuleNumber 2
Removes rule number 2 in the specified backup policy
RELATED LINKS
SYNOPSIS
Deletes a backup rule from an existing HPE SimpliVity backup policy
SYNTAX
Remove-SVTpolicyRule [-PolicyName] <String> [-RuleNumber] <String> [<CommonParameters>]
DESCRIPTION
Delete an existing rule from a HPE SimpliVity backup policy. You must specify the policy name and the rule number
to be removed.
Rule numbers start from 0 and increment by 1. Use Get-SVTpolicy to identify the rule you want to delete
PARAMETERS
-PolicyName <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-RuleNumber <String>
Required? true
Position? 2
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
System.String
OUTPUTS
HPE.SimpliVity.Task
NOTES
There seems to be a bug, you cannot remove rule 0 if there are other rules.
You can use Set-SVTpolicyRule with the -ReplaceRules parameter to remove all rules, or remove the other rules
first.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Remove-SVTPolicyRule -Policy Gold -RuleNumber 2
Removes rule number 2 in the specified backup policy
RELATED LINKS