New-VBRUniversalCDPNetworkMappingRule
Short Description
Defines network mapping rules for universal CDP policies.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
IsDefaultNetworkNew-VBRUniversalCDPNetworkMappingRule [-IsDefaultNetwork] -TargetNetwork <IVBRServerNetworkInfo> [<CommonParameters>]
-
DefaultNew-VBRUniversalCDPNetworkMappingRule -SourceObject <VBRUniversalCDPSourceNetwork>
-TargetNetwork <IVBRServerNetworkInfo> [<CommonParameters>]
Detailed Description
This cmdlet defines the VBRUniversalCDPNetworkMappingRule object that contains network mapping rules.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
IsDefaultNetwork |
Defines that the cmdlet specifies the default target network. If you provide this parameter, the target network will be used for all workloads and network adapters for which mapping rules are not defined explicitly. |
|
True |
Named |
False |
|
SourceObject |
Specifies the workload or network adapter for which you want to create the rule.
Accepts the |
|
True |
Named |
False |
|
TargetNetwork |
Specifies the target network.
Accepts the |
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRUniversalCDPNetworkMappingRule object that defines network mapping rules.
Examples
Example 1. Creating Network Rule for Workload
|
This example shows how to create a network mapping rule for a workload.
Perform the following steps:
|
Example 2. Creating Default Network Rule
|
This example shows how to create the default network rule.
Perform the following steps:
|
Related Commands
Get-VBRDiscoveredComputerReturns discovered computers.Get-VBRServerReturns hosts connected to the backup infrastructure.Get-VBRViServerNetworkInfoReturns virtual networks for a VMware host.