New-VBRViADForestDomainRestoreSpec
Short Description
Creates a VMware domain restore specification for a Microsoft Active Directory forest restore.
Applies to
Platform: VMware
Product Edition: Veeam Universal License
Syntax
|
New-VBRViADForestDomainRestoreSpec [-RestorePoint] <VBRADForestDomainRestorePoint> -Credentials <PSCredential> -Server <CHost> -ResourcePool <CViResourcePoolItem> -Datastore <CViDatastoreItem> -Folder <CViFolderItem> -VMName <String> [-SourceNetwork <VBRViNetworkInfo[]>] [-TargetNetwork <VBRViNetworkInfo[]>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRADForestDomainRestoreSpec object. This object defines the target settings for restoring a domain controller VM on a VMware host during a Microsoft Active Directory forest restore. Create one specification for each domain controller you want to restore. Use this object with the Start-VBRADForestRestore cmdlet.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
RestorePoint |
Specifies the domain controller restore point to use for the restore operation. |
Accepts the VBRADForestDomainRestorePoint object. To get this object, run the Get-VBRADForestDomainRestorePoint cmdlet. |
True |
0 |
True (ByPropertyName, ByValue) |
|
Credentials |
Specifies the guest OS credentials of the restored domain controller. |
Accepts the PSCredential object. To get this object, run the Get-Credential cmdlet. |
True |
Named |
False |
|
Server |
Specifies the VMware ESXi host on which to restore the domain controller VM. |
Accepts the CHost object. To get this object, run the Get-VBRServer cmdlet. |
True |
Named |
False |
|
ResourcePool |
Specifies the resource pool on the target ESXi host where the domain controller VM will be placed. |
Accepts the CViResourcePoolItem object. To get this object, run the Find-VBRViResourcePool cmdlet. |
True |
Named |
False |
|
Datastore |
Specifies the datastore on the target ESXi host where the domain controller VM files will be stored. |
Accepts the CViDatastoreItem object. To get this object, run the Find-VBRViDatastore cmdlet. |
True |
Named |
False |
|
Folder |
Specifies the VM folder in the vCenter Server inventory where the restored domain controller VM will appear. |
Accepts the CViFolderItem object. To get this object, run the Find-VBRViEntity cmdlet. |
True |
Named |
False |
|
VMName |
Specifies the name for the restored domain controller VM. The name can contain from 1 to 81 characters. |
String |
True |
Named |
False |
|
SourceNetwork |
Specifies the array of virtual networks connected to the domain controller VM in the source environment. Use this parameter together with the TargetNetwork parameter to configure network mapping. The SourceNetwork and TargetNetwork arrays must contain the same number of networks. Network mapping is required when you restore the domain controller VM to a host other than the original one. |
Accepts the VBRViNetworkInfo[] object. To get this object, run the Get-VBRViServerNetworkInfo cmdlet. |
False |
Named |
False |
|
TargetNetwork |
Specifies the array of virtual networks connected to the target VMware host that the domain controller VM will be mapped to. Use this parameter together with the SourceNetwork parameter to configure network mapping. The SourceNetwork and TargetNetwork arrays must contain the same number of networks. Network mapping is required when you restore the domain controller VM to a host other than the original one. |
Accepts the VBRViNetworkInfo[] object. To get this object, run the Get-VBRViServerNetworkInfo cmdlet. |
False |
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 VBRADForestDomainRestoreSpec object that defines the target settings for restoring a domain controller VM on a VMware host.
Examples
Example 1. Creating VMware Domain Restore Specification
|
This example shows how to create a domain restore specification for a VMware environment.
Perform the following steps:
Save the result to the $viSpec variable to use it with other cmdlets. |
Example 2. Creating VMware Domain Restore Specification with Network Mapping
|
This example shows how to create a domain restore specification with network mapping for a VMware environment.
Perform the following steps:
Save the result to the $viSpec variable to use it with other cmdlets. |
Related Commands