Add-VBRViJobObject
Short Description
Adds VMs to VMware jobs.
Platform: VMware
For Hyper-V, run the Add-VBRHvJobObjectAdds VMs to Hyper-V jobs. cmdlet.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRViJobObject -Job <CBackupJob> -Entities <IViItem[]> [-Force] [-Multitag] [<CommonParameters>] |
Detailed Description
This cmdlet adds VMs to an existing job.
You can run this cmdlet with any kind of jobs.
Note |
|
The cmdlet will not run if the geographic 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 |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Entities |
Specifies the array of VMware VMs you want to add to the job.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Force |
Defines that the cmdlet will add VMs to the existing job even if the geographic location of these VMs and the target backup repository location do not match. |
|
False |
Named |
False |
|
Job |
Specifies the job. The cmdlet will add VMs to this job.
Accepts the |
|
True |
Named |
False |
|
Multitag |
Defines that the cmdlet will add tags to an existing job. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Adding VM to Job Represented by Variable [Using Pipeline]
|
This example shows how to add a VM named
Perform the following steps:
|
Example 2. Adding VM to Specific Job [Using Variables]
|
This example shows how to add a VM represented by
Perform the following steps:
|
Related Commands
Get-VBRJobReturns existing jobs.Find-VBRViEntityLooks for VMware objects.