Remove-VBRNetworkTrafficRule
Short Description
Removes network traffic rules.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Remove-VBRNetworkTrafficRule -Rule <VBRNetworkTrafficRule[]> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes network traffic rules from the backup infrastructure.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Rule |
Specifies an array of network traffic rules that you want to remove.
Accepts the |
True |
Named |
True (ByValue) |
|
|
Confirm |
Defines whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.
Note: Microsoft PowerShell enables the |
|
False |
Named |
False |
|
WhatIf |
Defines whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Removing Network Traffic Rule
This example shows how to remove a network traffic rule from the backup infrastructure.
|
$rule = Get-VBRNetworkTrafficRule -Name "Rule #5" Remove-VBRNetworkTrafficRule -Rule $rule |
Perform the following steps:
- Run the
Get-VBRNetworkTrafficRuleReturns network traffic rules. cmdlet. Specify theNameparameter value. Save the result to the$rulevariable. - Run the
Remove-VBRNetworkTrafficRulecmdlet. Set the$rulevariable as theRuleparameter value.
Related Commands
Get-VBRNetworkTrafficRuleReturns network traffic rules.