Adds a new object to a Hyper-V job.
For VMware, run Add-VBRViJobObject.
Product Edition: Standard, Enterprise, Enterprise Plus
Add-VBRHvJobObject -Job <CBackupJob> -Entities <IHvItem> [-Force] [<CommonParameters>]
This cmdlet allows to add VM(s) to an existing job.
You can run this cmdlet with any kind of jobs.
Starting from Veeam Backup & Replication version 9.5 Update 3, the cmdlet checks if the data of the VMs added to the job changes its geographical location.
The cmdlet will not run if the geographical location of the VMs added to the job and the job target repository location do not match. If you still want to run the cmdlet, use the Force parameter.
Specifies the job. The cmdlet will add VM(s) to this job.
Specifies the array of VMware VMs you want to add to the job.
Indicates that the cmdlet will add VMs to the existing job even if the geographical location of these VMs and the target backup repository location do not match.
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
This command adds a VM named "VM01" to the job represented by $job variable. First the job object is got and assigned to $BackupHvJob variable. The VM object is obtained with Find-VBRHvEntity and piped down.
Find-VBRHvEntity -Name VM01 | Add-VBRHvJobObject -Job $BackupHvJob
This command adds a VM represented by $Vm variable to the job represented to $BackupHvJob variable. The variables are assigned beforehand.
Add-VBRHvJobObject -Job $BackupHvJob -Entities $Vm