This is an archive version of the document. To get the most up-to-date information, see the current version.

New-VBRViVirtualDeviceMappingRule

Short Description

Defines backed-up virtual disk mapping settings.

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

New-VBRViVirtualDeviceMappingRule -SourceVirtualDevice <VBRViVirtualDevice> [-Datastore <CViDatastoreItem>] [<CommonParameters>]

Detailed Description

This cmdlet defines mapping settings of backed-up virtual disks.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

SourceVirtualDevice

Specifies backed-up virtual disks. The cmdlet will map these disks to the datastore.

Accepts the VBRViVirtualDevice object. To create this object, run the Get-VBRViVirtualDevice cmdlet.

True

Named

True (ByValue, ByPropertyName)

Datastore

Specifies a datastore. The cmdelt will map backed-up virtual disks to this datastore.

Note: If you do not specify this parameter, the cmdlet will will attach backed-up virtual disks to the default datastore.

Accepts the CViDatastoreItem object. To create this object, run the Find-VBRViDatastore cmdlet.

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

The cmdlet returns the VBRViVirtualDeviceMappingRule object that defines defines backed-up virtual disks mapping settings.

Examples

New-VBRViVirtualDeviceMappingRuleExample 1. Mapping Backed-Up Virtual Disks to Default Datastore

New-VBRViVirtualDeviceMappingRuleExample 2. Mapping Backed-Up Virtual Disks to Specific Datastore

Related Commands