Remove-VBRNetworkTrafficRule
Short Description
Removes network traffic rules.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Remove-VBRNetworkTrafficRule -Rule <VBRNetworkTrafficRule[]> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes network traffic rules from the backup infrastructure.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Rule | Specifies an array of network traffic rules that you want to remove. | True | Named | True (ByValue) | False |
WhatIf | Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. | False | Named | False | False |
Confirm | Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Return Type
Example
This example shows how to remove a network traffic rule from the backup infrastructure.
- Run Get-VBRNetworkTrafficRule to get the network traffic rule that you want to remove. Save the result to the $rule variable.
- Run Remove-VBRNetworkTrafficRule with the $rule variable.
Related Commands