Remove-VBRPreferredNetwork
Short Description
Removes preferred networks.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
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 | Required | Position | Accept | Accept |
Network | Specifies an array of preferred networks 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 preferred networks added to the backup infrastructure.
- Run Get-VBRPreferredNetwork to get an array of preferred networks. Save the result to the $rule variable.
- Run Remove-VBRNetworkTrafficRule with the $network variable.
Related Commands