Remove-VBRPreferredNetwork
Short Description
Removes preferred networks.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Remove-VBRPreferredNetwork -Network <VBRPreferredNetwork[]> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes an array of preferred networks created for the backup infrastructure. The cmdlet will remove all preferred networks added to the backup infrastructure.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Network |
Specifies an array of preferred networks 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 Preferred Network
This example shows how to remove preferred networks added to the backup infrastructure.
|
$network = Get-VBRPreferredNetwork Remove-VBRNetworkTrafficRule -Network $network |
Perform the following steps:
- Run the
Get-VBRPreferredNetworkReturns preferred networks. cmdlet. Save the result to the$networkvariable. - Run the
Remove-VBRNetworkTrafficRulecmdlet. Set the$networkvariable as theNetworkparameter value.
Related Commands
Get-VBRPreferredNetworkReturns preferred networks.